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

Jianhui Li llvmlistbot at llvm.org
Thu Aug 14 19:19:04 PDT 2025


================
@@ -201,4 +201,53 @@ def XeGPU_Nbarrier: XeGPUTypeDef<"Nbarrier", "nbarrier", [], "mlir::Type"> {
   }];
 }
 
+def XeGPU_MemDesc: XeGPUTypeDef<"MemDesc", "mem_desc", [ShapedTypeInterface], "mlir::Type"> {
+  let summary = "MemDesc describing the data in SLM";
+  let description = [{
+    MemDesc represents a block of data stored in shared local memory.
----------------
Jianhui-Li wrote:

consider "a block of data" => "multi-dimensional array buffer".  MemDesc associates "structure" information to the buffer (block of data) so it can be viewed as multi-dimension array buffer. 

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


More information about the Mlir-commits mailing list