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

Artem Kroviakov llvmlistbot at llvm.org
Tue Oct 28 02:07:29 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",
----------------
akroviakov wrote:

This is to help the offset calculating utility function decide which fields of the layout to use. I have no issues with shifting this responsibility to the user and let them supply data/layout to the utility via arguments.

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


More information about the Mlir-commits mailing list