[Mlir-commits] [mlir] [mlir][linalg] Update pack and unpack documentation (PR #143903)
Han-Chung Wang
llvmlistbot at llvm.org
Thu Jun 26 10:25:06 PDT 2025
================
@@ -94,11 +94,13 @@ def Linalg_PackOp : Linalg_RelayoutOp<"pack", [
and optionally transposes the tiled source tensor dimensions.
`inner_dims_pos` (mandatory) specifies `k` source tensor dimensions that are
- being tiled, where `0 < k <= n`. The order of the dimensions matters:
- - The tiled dimensions (of size `inner_tiles`) are added to the end of the result
- tensor in the order in which they appear in `inner_dims_pos`.
+ being tiled, where `0 < k <= n`.
----------------
hanhanW wrote:
We already use such form in data-layout propagation and decomposition tests. But yeah, we can add a test to named -ops.mlir since it is special.
https://github.com/search?q=repo%3Allvm%2Fllvm-project%20%22inner_dims_pos%20%3D%20%5B%5D%22&type=code
https://github.com/llvm/llvm-project/pull/143903
More information about the Mlir-commits
mailing list