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

Adam Siemieniuk llvmlistbot at llvm.org
Mon Mar 11 04:42:28 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]> {
----------------
adam-smnk wrote:

I think it could benefit from `OffsetSizeAndStrideOpInterface` to take advantage of the existing helpers and streamline offset and stride handling.

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


More information about the Mlir-commits mailing list