[mlir][sparse] export sparse tensor runtime support through header file
authorAart Bik <ajcbik@google.com>
Thu, 12 Nov 2020 02:40:01 +0000 (18:40 -0800)
committerAart Bik <ajcbik@google.com>
Thu, 12 Nov 2020 05:03:39 +0000 (21:03 -0800)
commit08466596485de75dc7abd0494306f4caf89f9460
tree3962aed8d99213313898fbf1a849a259c8eb7405
parentd6dd9385893e034c7c3561e5d47dc5cf3bce4552
[mlir][sparse] export sparse tensor runtime support through header file

Exposing the C versions of the methods of the sparse runtime support lib
through header files will enable using the same methods in an MLIR program
as well as a C++ program, which will simplify future benchmarking comparisons
(e.g. comparing MLIR generated code with eigen for Matrix Market sparse matrices).

Reviewed By: penpornk

Differential Revision: https://reviews.llvm.org/D91316
mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
mlir/lib/ExecutionEngine/CRunnerUtils.cpp
mlir/lib/ExecutionEngine/SparseUtils.cpp