[Mlir-commits] [mlir] [mlir][sparse] Implement parsing n out of m (PR #79935)

Peiming Liu llvmlistbot at llvm.org
Thu Feb 8 10:07:14 PST 2024


================
@@ -1294,7 +1294,7 @@ sparse_tensor::makeSparseTensorLevel(OpBuilder &b, Location l, Value t,
     Value crd = genToCoordinates(b, l, t, lvl);
     return std::make_unique<SingletonLevel>(tid, lvl, lt, sz, crd);
   }
-  case LevelFormat::TwoOutOfFour: {
+  case LevelFormat::NOutOfM: {
     Value crd = genToCoordinates(b, l, t, lvl);
     return std::make_unique<TwoOutFourLevel>(tid, lvl, lt, sz, crd);
----------------
PeimingLiu wrote:

Can you update `TwoOutFourLevel` as well?

https://github.com/llvm/llvm-project/pull/79935


More information about the Mlir-commits mailing list