llvm-project/mlir/test/Integration
Bixia Zheng 61a3dd70ff [mlir][taco] Use sparse_tensor.out to write sparse tensors to files.
Add a Python method, output_sparse_tensor, to use sparse_tensor.out to write
a sparse tensor value to a file.

Modify the method that evaluates a tensor expression to return a pointer of the
MLIR sparse tensor for the result to delay the extraction of the coordinates and
non-zero values.

Implement the Tensor to_file method to evaluate the tensor assignment and write
the result to a file.

Add unit tests. Modify test golden files to reflect the change that TNS outputs
now have a comment line and two meta data lines.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D118956
2022-02-08 08:47:05 -08:00
..
Dialect [mlir][taco] Use sparse_tensor.out to write sparse tensors to files. 2022-02-08 08:47:05 -08:00
GPU [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
data Accept symmetric sparse matrix in Matrix Market Exchange Format. 2021-11-23 19:53:17 -08:00
lit.local.cfg [mlir] Clean up boolean flags usage in LIT tests 2021-10-12 11:44:48 +03:00