The GPUBarrierConversion is not align to the SPIRV memory model
Open
- Dominant language
- MLIR
- Stars
- 156
- Forks
- 45
- Avg merge
- 4h 14m
- Merged PRs (30d)
- 22
Description
The MLIR GPUBarrierConversion is not align to the SPIRV memory model.
https://github.com/llvm/llvm-project/blob/592199c8fe58b2b102b3ca4019d17e25f8090be4/mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp#L413
https://www.khronos.org/blog/comparing-the-vulkan-spir-v-memory-model-to-cs
Please help to double confirm whether the logic is consistent in lowering the mlir::gpu::BarrierOp to SPIRV's barrier op.
Contributor guide
Assessment
This issue has not been assessed yet.