[Mlir-commits] [mlir] [mlir][xegpu] Add definitons of MatrixDescType and related ops. (PR #153273)

Sang Ik Lee llvmlistbot at llvm.org
Wed Aug 13 14:43:42 PDT 2025


================
@@ -201,4 +201,26 @@ def XeGPU_Nbarrier: XeGPUTypeDef<"Nbarrier", "nbarrier", [], "mlir::Type"> {
   }];
 }
 
+def XeGPU_MatrixDesc: XeGPUTypeDef<"MatrixDesc", "matrix_desc", [ShapedTypeInterface], "mlir::Type"> {
+  let summary = "MatrixDesc describing the data in SLM";
+  let description = [{
+    MatrixDesc represents a block of data stored in shared local memory.
+    By default, unless a layout attribute is provided, the data is stored
----------------
silee2 wrote:

What is this layout?
I assume this is not distribution layout as you said it is not part of matrix desc type.

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


More information about the Mlir-commits mailing list