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 ↗ | (On Diff #485918) | this is the only change in the file, and one I don't want ;-) |
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp | ||
10 ↗ | (On Diff #485918) | 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 | ||
85 | 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 ↗ | (On Diff #485918) | 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 ↗ | (On Diff #485918) | 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 | ||
85 | Revert the field/buffer change here and other places. |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h | ||
---|---|---|
75 | here and below, I would even remove the "Disp" | |
116 | this class needs a comment now, describing what the template var means | |
307 | either after the statement, or otherwise as a sentence Drop ... fields. | |
319 | why is this so moved around? makes it hard to review? can we do a prep revision with this, if needed ,first? | |
338 | 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 | ||
---|---|---|
75 | Fix here and another place | |
116 | Added description for the class. PTAL. | |
319 | move change to https://reviews.llvm.org/D141002. | |
338 | 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? |
can't we pass an mutable as an immutable? if so, then it seems this is not a very pure distinction?