Support for scalable vectors in vector.multi_reduction is added by
simply updating MultiDimReductionOp::verify.
Also, the conversion pattern for reducing n-D vector.multi_reduction to
2D vector.multi_reduction is updated.
Paths
| Differential D157092
[mlir][Vector] Add support for scalable vectors in multi_reduction ClosedPublic Authored by awarzynski on Aug 4 2023, 6:34 AM.
Details Summary Support for scalable vectors in vector.multi_reduction is added by Also, the conversion pattern for reducing n-D vector.multi_reduction to
Diff Detail
Event TimelineHerald added subscribers: alextsao1999, stephenneuendorffer, nicolasvasilache. · View Herald Transcript awarzynski added a child revision: D157268: [mlir][vector] Add missing support for scalable vectors.Aug 7 2023, 3:31 AM Comment Actions Thanks!
This revision is now accepted and ready to land.Aug 7 2023, 10:32 AM Closed by commit rG5c581720b9bc: [mlir][Vector] Add support for scalable vectors in multi_reduction (authored by awarzynski). · Explain WhyAug 8 2023, 10:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 548270 mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/lib/Dialect/Vector/Transforms/LowerVectorMultiReduction.cpp
mlir/test/Dialect/Vector/vector-multi-reduction-lowering.mlir
|
use? move to line 229?