[Mlir-commits] [mlir] [MLIR][XeGPU] Matrix load/store subgroup distribution (PR #165008)

Charitha Saumya llvmlistbot at llvm.org
Mon Oct 27 13:34:18 PDT 2025


================
@@ -167,6 +167,16 @@ def XeGPU_FenceScope: I32EnumAttr<"FenceScope",
   let cppNamespace = "::mlir::xegpu";
 }
 
+def XeGPU_WGLevel: I32EnumAttrCase<"WG", 0, "wg">;
+def XeGPU_SGLevel: I32EnumAttrCase<"SG", 1, "sg">;
+def XeGPU_WILevel: I32EnumAttrCase<"WI", 2, "wi">;
+def XeGPU_DistributionLevel: I32EnumAttr<"DistributionLevel",
----------------
charithaintc wrote:

Why this is needed? Layouts should be able to help with deciding the level. 

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


More information about the Mlir-commits mailing list