[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:45:25 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:
In the tests, there is usage like
`!xegpu.matrix_desc<16x64xf16, strided<[1, 16]>>`
Is `strided<[1,16]>` the layout attribute?
https://github.com/llvm/llvm-project/pull/153273
More information about the Mlir-commits
mailing list