Skip to content

Commit 515e82e

Browse files
committed
actually insert sync
1 parent c535eba commit 515e82e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/macros.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ function emit_gpu(loop)
331331
$(loop.indicies...)
332332
$(unblock(body))
333333
end
334+
$__synchronize()
334335
end
335336
push!(stmts, loopexpr)
336337
end

0 commit comments

Comments
 (0)