[all-commits] [llvm/llvm-project] 727a63: [mlir][sparse] allow all-dense annotated "sparse" ...
Aart Bik via All-commits
all-commits at lists.llvm.org
Tue Jun 15 14:55:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 727a63e0d9a79d8e650674c0aca8fb3629e06b2d
https://github.com/llvm/llvm-project/commit/727a63e0d9a79d8e650674c0aca8fb3629e06b2d
Author: Aart Bik <ajcbik at google.com>
Date: 2021-06-15 (Tue, 15 Jun 2021)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/test/Dialect/SparseTensor/conversion.mlir
A mlir/test/Dialect/SparseTensor/dense.mlir
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
Log Message:
-----------
[mlir][sparse] allow all-dense annotated "sparse" tensor output
This is a very careful start with alllowing sparse tensors at the
left-hand-side of tensor index expressions (viz. sparse output).
Note that there is a subtle difference between non-annotated tensors
(dense, remain n-dim, handled by classic bufferization) and all-dense
annotated "sparse" tensors (linearized to 1-dim without overhead
storage, bufferized by sparse compiler, backed by runtime support library).
This revision gently introduces some new IR to facilitate annotated outputs,
to be generalized to truly sparse tensors in the future.
Reviewed By: gussmith23, bixia
Differential Revision: https://reviews.llvm.org/D104074
More information about the All-commits
mailing list