[Mlir-commits] [mlir] [mlir][gpu] Introduce `gpu.dynamic_shared_memory` Op (PR #71546)

Mehdi Amini llvmlistbot at llvm.org
Mon Nov 13 05:51:45 PST 2023


================
@@ -32,6 +35,18 @@
 namespace mlir {
 namespace gpu {
 
+/// GPU memory space identifiers.
+enum GPUMemorySpace {
+  /// Generic memory space identifier.
+  kGenericMemorySpace = 0,
+
+  /// Global memory space identifier.
+  kGlobalMemorySpace = 1,
+
+  /// Shared memory space identifier.
+  kSharedMemorySpace = 3
----------------
joker-eph wrote:

The GPU dialect uses the term "workgroup" I believe (that applies to the op as well I think?)

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


More information about the Mlir-commits mailing list