We will support symmetric MTX without expanding the data in the sparse tensor
storage.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
42 | please add doc that reading in a symmetric matrix will result in lower/upper triangular and that proper symmetry support is TBD | |
mlir/include/mlir/ExecutionEngine/SparseTensor/File.h | ||
169 | I think it is okay to record the symmetric property, we just don't use it to do anything special (but in the future we still want to know this information) | |
303 | keep this | |
mlir/include/mlir/ExecutionEngine/SparseTensorRuntime.h | ||
251 | keep this | |
mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp | ||
880 | keep | |
mlir/test/Integration/data/test_complex.mtx | ||
1 | we can still keep the symmetric flag, just to make sure we can read it |
Address review comment: keep symmetric property, keep two tests with symmetric input with TODO, add to doc about symmetric handling is TBD.
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td | ||
---|---|---|
42 | did you | |
42–43 | How about: Reading in a symmetric matrix will result in just the lower/upper triangular part of | |
49 | does this fit on one line now? |
please add doc that reading in a symmetric matrix will result in lower/upper triangular and that proper symmetry support is TBD