Skip to content

Commit acbf53b

Browse files
committed
Add dispatchThreads!
1 parent 962e9e1 commit acbf53b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/mtl/command_enc/compute.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ function dispatchThreadgroups!(cce::MTLComputeCommandEncoder, gridSize, threadGr
3030
threadsPerThreadgroup:threadGroupSize::MTLSize]::Nothing
3131
end
3232

33+
function dispatchThreads!(cce::MTLComputeCommandEncoder, threadsSize::MTLSize, threadsPerThreadgroup::MTLSize)
34+
@objc [cce::id{MTLComputeCommandEncoder} dispatchThreads:threadsSize::MTLSize
35+
threadsPerThreadgroup:threadsPerThreadgroup::MTLSize]::Nothing
36+
end
37+
3338
#####
3439
# encode in the Command Encoder
3540

0 commit comments

Comments
 (0)