Skip to content

Commit 31937c5

Browse files
authored
use barrier with LOCAL_MEM_FENCE (#591)
1 parent de5dc99 commit 31937c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/pocl/backend.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ end
189189
## Synchronization and Printing
190190

191191
@device_override @inline function KA.__synchronize()
192-
barrier()
192+
SPIRVIntrinsics.barrier(SPIRVIntrinsics.CLK_LOCAL_MEM_FENCE)
193193
end
194194

195195
@device_override @inline function KA.__print(args...)

0 commit comments

Comments
 (0)