Introduce new sparse_tensor.storage_get/set to access memory that stores the handle of a sparse tensor. The sparse tensor storage are represented as a tuple, these operation will later be eliminated and the tuple will be flattened after sparse tensor codegen
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
|---|---|---|
| 627 | I would call this Sparse Tensor Storage Operation. .... | |
| 635 | no empty line (see other ops) | |
| 659 | no empty line | |
| 672 | suggestion, instead of at 0 shall we use [0] syntax? This seems a bit more consistent with things seen in e.g. vector dialect, %0 = sparse_tensor.storage_set %arg0[0], %arg1 | |
| mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp | ||
| 486 | same, Storage | |
| 492 | no { } in single return if | |
| 499 | same | |
| 511 | same | |
| 520 | same | |
I would call this
Sparse Tensor Storage Operation. ....