Add set_threadgroup_memory_length to CommandEncoder (#2183)

This commit is contained in:
Jack Wind 2025-05-16 03:28:03 -04:00 committed by GitHub
parent 602f43e3d1
commit 7ff5c41e06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,6 +95,10 @@ struct CommandEncoder {
return enc_->setBytes(&v, sizeof(T), idx); return enc_->setBytes(&v, sizeof(T), idx);
} }
void set_threadgroup_memory_length(size_t length, int idx) {
enc_->setThreadgroupMemoryLength(length, idx);
}
ConcurrentContext start_concurrent() { ConcurrentContext start_concurrent() {
return ConcurrentContext(*this); return ConcurrentContext(*this);
} }