Fixes: https://github.com/llvm/llvm-project/issues/51652
Depends On D122060
Paths
| Differential D122061
[mlir][sparse] Enhancing sparse=>sparse conversion. ClosedPublic Authored by wrengr on Mar 18 2022, 8:08 PM.
Details
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, Chia-hungDuan and 17 others. · View Herald Transcript Comment Actions re-renaming the old appendPointer to appendCurrentPointer (since I've realized the name "finalizeSegment" is better used elsewhere). wrengr removed a child revision: D122435: [mlir][sparse] Moving `delete coo` into codegen instead of runtime library.Mar 30 2022, 12:33 PM Comment Actions Lots of reorganization, subsequent to all the recent changes in the parent revisions. wrengr added a parent revision: D122936: [mlir][sparse] Moved the ElementConsumer typedef to a "type alias".Apr 1 2022, 4:58 PM wrengr removed a parent revision: D122060: [mlir][sparse] Factoring out an enumerator over elements of SparseTensorStorage.Apr 4 2022, 5:20 PM wrengr added a parent revision: D122060: [mlir][sparse] Factoring out an enumerator over elements of SparseTensorStorage. Comment Actionsrebase wrengr removed a parent revision: D122060: [mlir][sparse] Factoring out an enumerator over elements of SparseTensorStorage.Apr 5 2022, 12:27 PM wrengr added a parent revision: D122060: [mlir][sparse] Factoring out an enumerator over elements of SparseTensorStorage. Comment ActionsRebasing for D123166. Also removing a bunch of inline keywords, per MLIR style-guide. wrengr removed a parent revision: D122936: [mlir][sparse] Moved the ElementConsumer typedef to a "type alias".Apr 13 2022, 3:36 PM Comment Actions Rebasing for the latest version of D122060 (2022-05-11T13:09) This also introduces a minor change to the enumerator design. Namely, due to the splitting of SparseTensorEnumeratorBase<V> vs SparseTensorEnumerator<P,I,V>, I've had to add the new SparseTensorStorageBase::newEnumerator methods to allow constructing objects of the abstract base type without reintroducing the "<P,I> vs <Q,J> problem" for direct conversion. Comment Actions Arg! It looks like when I installed the github version of Arcanist to avoid the https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1838310.html bug with Debian's version, the new version isn't automatically applying the formatting script :( So please bear with the overly-long lines for now wrengr added a child revision: D125428: [mlir][sparse] Adding "final" keyword wherever appropriate.May 11 2022, 4:11 PM aartbik added inline comments.
This revision is now accepted and ready to land.May 16 2022, 1:16 PM Closed by commit rG8cb332406c09: [mlir][sparse] Enhancing sparse=>sparse conversion. (authored by wrengr). · Explain WhyMay 16 2022, 3:42 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 417436 mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
mlir/test/Dialect/SparseTensor/conversion.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2sparse.mlir
mlir/test/Integration/Dialect/SparseTensor/python/test_stress.py
|
Yeah! All your abstraction work is paying off!