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

Chao Chen llvmlistbot at llvm.org
Tue Mar 12 09:27:24 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]> {
----------------
chencha3 wrote:

@adam-smnk I added it and `ViewLikeOpInterface` too. It is slightly different from some tensor ops, in that it doesn't have `static_sizes` and `static_strides` arguments, instead they are either from source if it is MemRefType or array of `ShapedType::kDynamic`.  

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


More information about the Mlir-commits mailing list