OpControlBarrier and OpMemoryBarrier to OpenCL 1/2/2.0 transformations don't work correctly
Closed this issue · 0 comments
bsochack commented
During validation process of #121 pull request I found a few other issues:
- some arguments of OpControlBarrier are dropped during conversion from SPIR-V to OpenCL 1.2/2.0
- some arguments of OpMemoryBarrier are dropped during conversion from SPIR-V to OpenCL 1.2/2.0
- OpMemoryBarrier produces always mem_fence, but it should produce atomic_work_item_fence for OpenCL 2.0