[mlir][sparse] Extend readCOOIndices to support overhead types beyond index_type.
authorbixia1 <bixia@google.com>
Mon, 13 Feb 2023 20:43:03 +0000 (12:43 -0800)
committerbixia1 <bixia@google.com>
Mon, 13 Feb 2023 22:51:59 +0000 (14:51 -0800)
commite800c664f0e925f6acb30dfa054906e3059ce125
treef278e1d87b57e7a8ad6dfde1ba8c97abb2ce38c0
parent8151d6f804586f35a55300651bcd1d10581b131a
[mlir][sparse] Extend readCOOIndices to support overhead types beyond index_type.

This is to prepare for implementing the C API for reading a COO tensor to the
given buffers for indices and values.

Reviewed By: wrengr

Differential Revision: https://reviews.llvm.org/D143861
mlir/include/mlir/ExecutionEngine/SparseTensor/File.h
mlir/lib/ExecutionEngine/SparseTensor/File.cpp