In case of a distribution, only one lane inserts the scalar value. In case of a broadcast, every lane inserts the scalar.
Depends On D137646
Paths
| Differential D137929
[mlir][vector] Distribute vector.insertelement op ClosedPublic Authored by springerm on Nov 14 2022, 2:56 AM.
Details Summary In case of a distribution, only one lane inserts the scalar value. In case of a broadcast, every lane inserts the scalar. Depends On D137646
Diff Detail
Event Timelinespringerm added a child revision: D137953: [mlir][vector] Distribute vector.insert op.Nov 14 2022, 7:35 AM This revision is now accepted and ready to land.Jan 6 2023, 8:31 AM Closed by commit rG73ce971c630f: [mlir][vector] Distribute vector.insertelement op (authored by springerm). · Explain WhyJan 9 2023, 7:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 475092 mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
mlir/test/Dialect/Vector/vector-warp-distribute.mlir
|