[all-commits] [llvm/llvm-project] f66e57: [mlir][sparse] first version of "truly" dynamic sp...
Aart Bik via All-commits
all-commits at lists.llvm.org
Mon Nov 15 15:33:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f66e5769d41b436176f87a08279feec5163c32f3
https://github.com/llvm/llvm-project/commit/f66e5769d41b436176f87a08279feec5163c32f3
Author: Aart Bik <ajcbik at google.com>
Date: 2021-11-15 (Mon, 15 Nov 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/lib/ExecutionEngine/SparseTensorUtils.cpp
M mlir/test/Dialect/SparseTensor/conversion.mlir
M mlir/test/Dialect/SparseTensor/dense.mlir
M mlir/test/Dialect/SparseTensor/fold.mlir
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
M mlir/test/Dialect/SparseTensor/sparse_out.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_vector_ops.mlir
Log Message:
-----------
[mlir][sparse] first version of "truly" dynamic sparse tensors as outputs of kernels
This revision contains all "sparsification" ops and rewriting necessary to support sparse output tensors when the kernel has no reduction (viz. insertions occur in lexicographic order and are "injective"). This will be later generalized to allow reductions too. Also, this first revision only supports sparse 1-d tensors (viz. vectors) as output in the runtime support library. This will be generalized to n-d tensors shortly. But this way, the revision is kept to a manageable size.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D113705
More information about the All-commits
mailing list