[Mlir-commits] [mlir] [MLIR] Adding XeGPU 2d block operators (PR #84692)

Chao Chen llvmlistbot at llvm.org
Tue Mar 12 09:29:51 PDT 2024


================
@@ -23,4 +39,199 @@ class XeGPU_Op<string mnemonic, list<Trait> traits = []>:
           Op<XeGPU_Dialect, mnemonic, traits>;
 
 
+def XeGPU_CreateNdDescOp: XeGPU_Op<"create_nd_tdesc", [Pure, AttrSizedOperandSegments]> {
+
+  let summary = "create nd tensor descriptor operation";
+  let description = [{
+    The "create_nd_tdesc" operation creates a TensorDescType which represents
+    a sub-view of a 2D memory region (It can be extended to support N-D memory
----------------
chencha3 wrote:

We also have a set of scattered operators, which are its users. The PR for them is coming after this one. But I updated the verfier based on your feedback. Thanks

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


More information about the Mlir-commits mailing list