This new pass provides an alternative to the current conversion pass
that converts sparse tensor types and sparse primitives to opaque pointers
and calls into a runtime support library. This pass will map sparse tensor
types to actual data structures and primitives to actual code. In the long
run, this new pass will remove our dependence on the support library, avoid
the need to link in fully templated and expanded code, and provide much better
opportunities for optimization on the generated code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td | ||
---|---|---|
126 | Should we also differentiate the summary in sparse-tensor-codegen with sparse-tensor-conversion? "Apply conversion rules to sparse tensor primitives and types with the use of a runtime library" "Apply conversion rules to sparse tensor primitives and types using directly generated code " Is it the help message that will be shown with mlir-opt -help? |
mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td | ||
---|---|---|
126 | Yeah, good suggestion! |
Should we also differentiate the summary in sparse-tensor-codegen with sparse-tensor-conversion?
Is it the help message that will be shown with mlir-opt -help?