[Mlir-commits] [mlir] [MLIR][XeGPU][XeVM] create_nd_tdesc: use correct pitch from strides. (PR #170384)
Charitha Saumya
llvmlistbot at llvm.org
Thu Dec 4 09:25:58 PST 2025
================
@@ -179,11 +178,10 @@ class CreateNdDescToXeVMPattern
Value baseAddr;
Value baseShapeW;
Value baseShapeH;
- Value offsetW;
- Value offsetH;
// Source can be a memref or a pointer (ui64, ui32, i64 or i32).
SmallVector<OpFoldResult> mixedSizes = op.getMixedSizes();
+ SmallVector<OpFoldResult> mixedStrides = op.getMixedStrides();
----------------
charithaintc wrote:
If I am not mistaken for dynamic memrefs this still get the strides from createNd's own parameters, not memref's right?
Is that done in a seperate PR?
@Jianhui-Li Seems like this PR also still get the strides from CreateNd? So in that case is it fine to move ahead with #170218? And we can fix the whole thing (take strides using `ExtractMetaOp`) and remove shape, strided from createNd in a new PR?
https://github.com/llvm/llvm-project/pull/170384
More information about the Mlir-commits
mailing list