llvm-project/mlir/test/Integration/Dialect
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
..
Async/CPU [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
LLVMIR/CPU [mlir][Vector] Add a vblendps-based impl for transpose8x8 (both intrin and inline_asm) 2021-11-23 07:31:22 +00:00
Linalg/CPU [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Memref [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
PDL/CPU [MLIR][PDL] Integration test of multi-root matching and related fixes. 2022-01-04 08:03:45 +05:30
SparseTensor [mlir][taco] Use sparse_tensor.out to write sparse tensors to files. 2022-02-08 08:47:05 -08:00
Standard/CPU [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00
Vector/CPU [mlir] Split out a new ControlFlow dialect from Standard 2022-02-06 14:51:16 -08:00