mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-23 10:02:12 +08:00
index -> int
This commit is contained in:
parent
d197c18528
commit
1a1564f642
@ -95,8 +95,8 @@ struct CommandEncoder {
|
||||
return enc_->setBytes(&v, sizeof(T), idx);
|
||||
}
|
||||
|
||||
void set_threadgroup_memory_length(size_t length, NS::UInteger index) {
|
||||
enc_->setThreadgroupMemoryLength(length, index);
|
||||
void set_threadgroup_memory_length(size_t length, int idx) {
|
||||
enc_->setThreadgroupMemoryLength(length, idx);
|
||||
}
|
||||
|
||||
ConcurrentContext start_concurrent() {
|
||||
|
Loading…
Reference in New Issue
Block a user