This patch adds SparseTensorStorageExpansion pass, it flattens the tuple used to store a sparse
tensor handle.
Right now, it only set up the skeleton for the pass, more lowering rules for sparse tensor storage
operation need to be added.
Paths
| Differential D133125
[mlir][sparse] Add SparseTensorStorageExpansion Pass to expand compounded sparse tensor tuples ClosedPublic Authored by Peiming on Sep 1 2022, 10:18 AM.
Details Summary This patch adds SparseTensorStorageExpansion pass, it flattens the tuple used to store a sparse Right now, it only set up the skeleton for the pass, more lowering rules for sparse tensor storage
Diff Detail
Event TimelineComment Actions very good progress!
Comment Actions Few last comments, please address, but good to merge in.
This revision is now accepted and ready to land.Sep 1 2022, 3:21 PM This revision was landed with ongoing or failed builds.Sep 1 2022, 3:47 PM Closed by commit rGca01c996b218: [mlir][sparse] Add SparseTensorStorageExpansion Pass to expand compounded… (authored by Peiming). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 457433 mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h
mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageExpansion.cpp
mlir/test/Dialect/SparseTensor/sparse_tensor_storage.mlir
|
This comment seems copy and paste? How about
/// Sparse tensor type converter from compound to expanded form.
Or something like that.