[Mlir-commits] [mlir] [mlir][gpu] Add address space modifier to Barrier (PR #110527)
Krzysztof Drewniak
llvmlistbot at llvm.org
Mon Sep 30 09:27:26 PDT 2024
================
@@ -1371,11 +1372,25 @@ def GPU_BarrierOp : GPU_Op<"barrier"> {
accessing the same memory can be avoided by synchronizing work items
in-between these accesses.
+ The address space of visible memory accesses can be modified by adding a
+ list of address spaces required to be visible. By default all address spaces
+ are included.
----------------
krzysz00 wrote:
(and those libraries are implementing `amdgpu.lds_barrirer`. If they wanted to match `gpu.barrier`, they'd be waiting on `vmcnt(0)` as well
https://github.com/llvm/llvm-project/pull/110527
More information about the Mlir-commits
mailing list