This revision implements tiling on tensors as described in:
https://llvm.discourse.group/t/an-update-on-linalg-on-tensors/1878/4
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | ||
---|---|---|
101 | nit: maybe just getShape? | |
mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | ||
402 | Please, remove this TODO or add more explanation to it. | |
407–410 | Do you need shapeValues variable? auto tiledOperands = makeTiledShapes(b, loc, op, operands, shapeSizesToLoopsMap, interchangedIvs, tileSizes, allShapeSizes); | |
mlir/test/Dialect/Linalg/tile-tensors.mlir | ||
2 | why do you need to disable it? | |
5–29 | nit: if you capture tensor<?x?xf32> as [[TY:.*]], the whole thing will become a bit more readable. |
nit: maybe just getShape?