Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mlir][sparse] minor edit of map reinterpretation pass doc #70513

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ include "mlir/Pass/PassBase.td"
def SparseReinterpretMap : Pass<"sparse-reinterpret-map", "ModuleOp"> {
let summary = "Reinterprets sparse tensor type mappings";
let description = [{
A pass that reinterprets the mappings in all sparse tensor types in a way that
enables subsequent sparification. This involves expressing all `linalg.generic`
operations in terms of level coordinates (rather than the dimension coordinates
of the input tensors) to align the iteration space with the potentially remapped
level space as well as resolving cycles in the resulting iteration graphs with
explicit sparse tensor conversions where needed.
A pass that reinterprets the mappings in all sparse tensor types in a
way that enables subsequent sparsification. This involves expressing all
`linalg.generic` operations in terms of level coordinates (rather than
the dimension coordinates of the input tensors) to align the iteration
space with the potentially remapped level space as well as resolving cycles
in the resulting iteration graphs with explicit sparse tensor conversions
where needed.
}];
let constructor = "mlir::createSparseReinterpretMapPass()";
let dependentDialects = [
Expand Down