[Mlir-commits] [mlir] [mlir][gpu] Add address space modifier to Barrier (PR #110527)

Jakub Kuderski llvmlistbot at llvm.org
Mon Sep 30 09:05:10 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.
----------------
kuhar wrote:

What does it mean for memory to be visible? What memory accesses is this referencing?

https://github.com/llvm/llvm-project/pull/110527


More information about the Mlir-commits mailing list