Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp | ||
---|---|---|
530 | add a comment to this block of code as well, similar to what you show below (e.g. show what you generate in pseudo code) | |
mlir/test/Dialect/SparseTensor/rewriting_for_codegen.mlir | ||
14–16 | Please align code (2 to the left, only indent inside the for loop) | |
21 | Good for now, very functional. I am wondering if later we want to "chunk" the reading so that we have less calling overhead per element? |
Add comment for a code block. Fix test format.
mlir/test/Dialect/SparseTensor/rewriting_for_codegen.mlir | ||
---|---|---|
21 | Do you mean reading multiple elements at one getSparseTensorReader call? |
mlir/test/Dialect/SparseTensor/rewriting_for_codegen.mlir | ||
---|---|---|
21 | Yeah, not for now, but just amortizing the overhead of each method call by simply reading in a chunk of elements (and returning the number of items read for example. That would require a value buffer too then. But just thoughts for later.... |
add a comment to this block of code as well, similar to what you show below (e.g. show what you generate in pseudo code)