Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp | ||
---|---|---|
180–182 | Don't we have utils for this in CodegenUtils? we should really use those,and move the enableInit there. | |
1051 | is it not very unsafe to stack allocate here? will the scope be sufficient for the lifetime of the tensor but yeah, we have a problem here, since we use the external allocated data for anything else.... | |
1104 | period at end |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp | ||
---|---|---|
1072–1073 | The shape of the indices tensor is (nnz, rank), not the shape of the destination tensor. Am I right here? |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp | ||
---|---|---|
1072–1073 | I see, tensorType is the indices tensor type. |
Don't we have utils for this in CodegenUtils? we should really use those,and move the enableInit there.
Also, I have to look below why you want stack allocation vs. heap here....