We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab6fc2 commit a5b56dcCopy full SHA for a5b56dc
examples/unified_memory.jl
@@ -37,7 +37,7 @@ arr_cpu .= pi
37
Metal.@allowscalar @test arr_mtl[1] == Float32(pi)
38
39
# Now launch a kernel altering the Metal array
40
-Metal.@sync @metal threads=1024 groups=1024 simple_kernel(arr_mtl)
+Metal.@sync @metal threads=16 groups=16 simple_kernel(arr_mtl)
41
42
# These changes are reflected in the wrapped CPU array
43
synchronize()
0 commit comments