[all-commits] [llvm/llvm-project] 8a7e69: [mlir][sparse] Refactoring: abstract sparse tensor...
PeimingLiu via All-commits
all-commits at lists.llvm.org
Mon Dec 5 14:12:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a7e69d145ff72e7e4fc10ce6b81c3aa4794201c
https://github.com/llvm/llvm-project/commit/8a7e69d145ff72e7e4fc10ce6b81c3aa4794201c
Author: Peiming Liu <peiming at google.com>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
Log Message:
-----------
[mlir][sparse] Refactoring: abstract sparse tensor memory scheme into a SparseTensorDescriptor class.
This patch abstracts sparse tensor memory scheme into a SparseTensorDescriptor class. Previously, the field accesses are performed in a relatively error-prone way, this patch hides the hairy details behind a SparseTensorDescriptor class to allow users access sparse tensor fields in a more cohesive way.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D138627
More information about the All-commits
mailing list