summaryrefslogtreecommitdiff
path: root/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir
diff options
context:
space:
mode:
authorYinying Li <107574043+yinying-lisa-li@users.noreply.github.com>2023-09-14 16:21:13 +0000
committerGitHub <noreply@github.com>2023-09-14 12:21:13 -0400
commite2e429d99441e212c942ec3ac024f55c8fbc1b16 (patch)
tree34e3c0cc38708c2d2014665f445a96309a062a13 /mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir
parent1db6b127a1efddd3130402533b01a26c9864c462 (diff)
[mlir][sparse] Migrate more tests to new syntax (#66309)
CSR: `lvlTypes = [ "dense", "compressed" ]` to `map = (d0, d1) -> (d0 : dense, d1 : compressed)` CSC: `lvlTypes = [ "dense", "compressed" ], dimToLvl = affine_map<(d0, d1) -> (d1, d0)>` to `map = (d0, d1) -> (d1 : dense, d0 : compressed)` This is an ongoing effort: #66146
Diffstat (limited to 'mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir')
-rw-r--r--mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir
index c933b157053b..a683c063e64a 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir
@@ -36,7 +36,7 @@
}>
#CSR = #sparse_tensor.encoding<{
- lvlTypes = [ "dense", "compressed" ]
+ map = (d0, d1) -> (d0 : dense, d1 : compressed)
}>
#DCSR = #sparse_tensor.encoding<{