[mlir] [sparse] convenience runtime support to read Matrix Market format
authorAart Bik <ajcbik@google.com>
Tue, 6 Oct 2020 19:15:36 +0000 (12:15 -0700)
committerAart Bik <ajcbik@google.com>
Tue, 6 Oct 2020 20:17:05 +0000 (13:17 -0700)
commitc6c67f643dcff142b26a53059e63e5369e6d8d89
tree19b2fa9b768ba07133ce4aaee7cd0b71d66cb635
parent5a305f81bfc3cb71f1f77f15d08dd62b32865e8a
[mlir] [sparse] convenience runtime support to read Matrix Market format

Setting up input data for benchmarks and integration tests can be tedious in
pure MLIR. With more sparse tensor work planned, this convenience library
simplifies reading sparse matrices in the popular Matrix Market Exchange
Format (see https://math.nist.gov/MatrixMarket). Note that this library
is *not* part of core MLIR. It is merely intended as a convenience library
for benchmarking and integration testing.

Reviewed By: penpornk

Differential Revision: https://reviews.llvm.org/D88856
mlir/integration_test/CMakeLists.txt
mlir/integration_test/Sparse/CPU/lit.local.cfg [new file with mode: 0644]
mlir/integration_test/Sparse/CPU/matrix-market-example.mlir [new file with mode: 0644]
mlir/integration_test/data/test.mtx [new file with mode: 0644]
mlir/lib/ExecutionEngine/CMakeLists.txt
mlir/lib/ExecutionEngine/SparseUtils.cpp [new file with mode: 0644]