diff options
| author | Yinying Li <107574043+yinying-lisa-li@users.noreply.github.com> | 2023-09-14 16:21:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-14 12:21:13 -0400 |
| commit | e2e429d99441e212c942ec3ac024f55c8fbc1b16 (patch) | |
| tree | 34e3c0cc38708c2d2014665f445a96309a062a13 /mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir | |
| parent | 1db6b127a1efddd3130402533b01a26c9864c462 (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.mlir | 2 |
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<{ |
