Use an array of structures to represent the indices for the tailing COO region
of a sparse tensor.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp | ||
---|---|---|
266 | this is the only change in the file, and one I don't want ;-) | |
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp | ||
10 | why this change? was lint complaining? | |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp | ||
125 | can't we pass an mutable as an immutable? if so, then it seems this is not a very pure distinction? | |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h | ||
84 | why the selective field/buffer renaming also note that comments and method names are out of sync now at a lot of places we use "field" here in the tuple sense, so I think I prefer keeping it that way, unless you have a very strong argument for the renaming? |
Removed an unnecessary include; reverted field/buffer renaming.
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp | ||
---|---|---|
266 | This line and the routine after is added from the previous PR. There must be an issue with rebasing the source. Fixed. | |
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp | ||
10 | Removed. | |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp | ||
125 | We can't pass a mutable as an immutable or the other way. | |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h | ||
84 | Revert the field/buffer change here and other places. |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h | ||
---|---|---|
74 | here and below, I would even remove the "Disp" | |
109 | this class needs a comment now, describing what the template var means | |
289 | either after the statement, or otherwise as a sentence Drop ... fields. | |
301 | why is this so moved around? makes it hard to review? can we do a prep revision with this, if needed ,first? | |
320 | this changes the simplicity of the original setup quite a bit. Can't we use template specialization to define the methods? |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h | ||
---|---|---|
74 | Fix here and another place | |
109 | Added description for the class. PTAL. | |
301 | move change to https://reviews.llvm.org/D141002. | |
320 | MutSparseTensorDescriptor now contains the getter/setter that are only meaningful to a mutable descriptor. PTAL. |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp | ||
---|---|---|
305 | why was there commented out code? |
this is the only change in the file, and one I don't want ;-)
Can you please revert this file from the revision