Implements lowering dense to sparse conversion, for static tensor types only.
First step towards general sparse_tensor.convert support.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D107681
[mlir][sparse] add dense to sparse conversion implementation ClosedPublic Authored by aartbik on Aug 6 2021, 7:37 PM.
Details Summary Implements lowering dense to sparse conversion, for static tensor types only.
Diff Detail
Event TimelineHerald added subscribers: wrengr, Chia-hungDuan, dcaballe and 17 others. · View Herald TranscriptAug 6 2021, 7:37 PM This revision is now accepted and ready to land.Aug 9 2021, 11:02 AM Closed by commit rG05c7f450dfce: [mlir][sparse] add dense to sparse conversion implementation (authored by aartbik). · Explain WhyAug 9 2021, 12:13 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 365255 mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
mlir/lib/ExecutionEngine/SparseUtils.cpp
mlir/test/Dialect/SparseTensor/conversion.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_scale.mlir
|