[Mlir-commits] [mlir] [mlir] Add global and program memory space handling to the data layout subsystem (PR #77367)

Mehdi Amini llvmlistbot at llvm.org
Tue Jan 9 06:26:43 PST 2024


================
@@ -103,6 +103,12 @@ class DataLayoutSpecAttr
   /// Returns the alloca memory space identifier.
   StringAttr getAllocaMemorySpaceIdentifier(MLIRContext *context) const;
 
+  /// Returns the program memory space identifier.
+  StringAttr getProgramMemorySpaceIdentifier(MLIRContext *context) const;
+
+  /// Returns the global memory space identifier.
+  StringAttr getGlobalMemorySpaceIdentifier(MLIRContext *context) const;
----------------
joker-eph wrote:

Is there a doc that specifies what do these means? (The comments are just paraphrasing the API name right now)

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


More information about the Mlir-commits mailing list