This specific operation matches the cuSPARSE SDDMM semantics exactly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp | ||
|---|---|---|
| 1158 | You can have a InsertionGuard here so that you do not need to restore the insertion point outside the function | |
| mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp | ||
|---|---|---|
| 1158 | Used the guard. Note that I still use it outside, so we only save/restore it once. If you prefer I can move it here, but it feels that we will do it too often then | |
You can have a InsertionGuard here so that you do not need to restore the insertion point outside the function