Rename conversion_sparse2dense.mlir and conversion_sparse2sparse.mlir to
convert_sparse2dense.mlir/sparse2sparse.mlir.
Add convert_dense2sparse.mlir. Move the sparse_tensor.convert operator tests
out of conversion.mlir.
Paths
| Differential D135922
[mlir][sparse] Reorganize tests for the sparse_tensor.convert operator. ClosedPublic Authored by bixia on Oct 13 2022, 2:44 PM.
Details Summary Rename conversion_sparse2dense.mlir and conversion_sparse2sparse.mlir to Add convert_dense2sparse.mlir. Move the sparse_tensor.convert operator tests
Diff Detail
Event TimelineComment Actions Why this renaming? Note that the "conversion" prefix in the file applied to SparseTensorConversion, just like the "codegen" prefix appplies to SparseTensorCodegen. Comment Actions I was thinking to make it like https://github.com/llvm/llvm-project/blob/main/mlir/test/Dialect/SparseTensor/sparse_reshape.mlir, use the same file different run option for testing the conversion and codegen path. This revision is now accepted and ready to land.Oct 14 2022, 1:59 PM Closed by commit rG0d6000025788: [mlir][sparse] Reorganize tests for the sparse_tensor.convert operator. (authored by bixia). · Explain WhyOct 14 2022, 2:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 467610 mlir/test/Dialect/SparseTensor/conversion.mlir
mlir/test/Dialect/SparseTensor/conversion_sparse2dense.mlir
mlir/test/Dialect/SparseTensor/conversion_sparse2sparse.mlir
mlir/test/Dialect/SparseTensor/convert_dense2sparse.mlir
mlir/test/Dialect/SparseTensor/convert_sparse2dense.mlir
mlir/test/Dialect/SparseTensor/convert_sparse2sparse.mlir
|