This extends TileAndFuse to handle distribution on tensors.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | ||
---|---|---|
345 | We need LinalgLoopDistributionOptions, so we moved the whole section right after distribution section. Only this line is new to the change. |
LGTM. I would probably consistently use the term tileDistribution instead of just distribution. However, I am also fine with just distribution if you prefer the short name.
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | ||
---|---|---|
341 | nit: /// Tile the root operation using the given tileSizes, tileInterchange, and tileDistribution. | |
345 | nit: I would probably use ̀tileDistribution` to make it more symmetric with the other parameters. | |
399 | nit: I would also use tileDistribution instead of distribution and add it to the comment. | |
mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp | ||
514 | nit: I think this extra braces are not needed? |
nit: /// Tile the root operation using the given tileSizes, tileInterchange, and tileDistribution.