Connect transform dialect passes into IREE.#8602
Conversation
d8ab5d4 to
729f1b9
Compare
|
@benvanik could you please comment on at least the extra dependencies ? OTOH, in order to create a more contained unit test for this PR, I also had to do the same for the Bufferization dialect. The nested pass structure make the additional changes less than ideal but maybe there is a better / more automated way to achieve the same? |
729f1b9 to
3a86923
Compare
MaheshRavishankar
left a comment
There was a problem hiding this comment.
Overall looks fine. Just a few questions about the dependent dialect specification.
3a86923 to
9898349
Compare
This commit adds a flag `-iree-codegen-use-sandbox-passes` that can be
used to transformations from sandbox within IREE in an e2e manner.
For now the pipeline just
- Sets the number of workgroups to {1, 1, 1} for sequential execution.
- Bufferizes the operations and lowers them to loops and LLVM IR.
This revision provides a first connection between IREE and the transform dialect by allowing the orthogonal specification of a linalg_transform file (policy) that is parsed and applied on the fly.
9898349 to
8c79173
Compare
| IREE::Flow::FlowDialect, | ||
| IREE::HAL::HALDialect, | ||
| IREE::LinalgExt::IREELinalgExtDialect, | ||
| mlir::linalg::transform::LinalgTransformDialect, |
There was a problem hiding this comment.
Ah, I know why this is here, but the namespace difference is a bit off-putting. Just noting, not making it blocking.
This revision provides a first connection between IREE and the transform dialect by
allowing the orthogonal specification of a linalg_transform file (policy) that is
parsed and applied on the fly.