[Mlir-commits] [mlir] [mlir][AMDGPU] Plumb address space 7 through MLIR, add address_space attr. (PR #125594)

Jakub Kuderski llvmlistbot at llvm.org
Mon Feb 10 09:27:53 PST 2025


================
@@ -30,6 +32,11 @@ namespace mlir {
 using namespace mlir;
 using namespace mlir::amdgpu;
 
+// Define commonly used chipsets versions for convenience.
+static constexpr Chipset kGfx908 = Chipset(9, 0, 8);
+static constexpr Chipset kGfx90a = Chipset(9, 0, 0xa);
+static constexpr Chipset kGfx940 = Chipset(9, 4, 0);
----------------
kuhar wrote:

I meant the namespace/global scope, as opposed to function or class scope 

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


More information about the Mlir-commits mailing list