[Mlir-commits] [mlir] [mlir][sparse] introduce `sparse_tensor.iterate` operation (PR #88955)
Peiming Liu
llvmlistbot at llvm.org
Wed Apr 17 14:44:54 PDT 2024
================
@@ -41,6 +45,40 @@ using Level = uint64_t;
/// including the value `ShapedType::kDynamic` (for shapes).
using Size = int64_t;
+/// A simple wrapper to encode a bitset of defined (at most 64) levels.
+class LevelSet {
+ uint64_t bits = 0;
----------------
PeimingLiu wrote:
I do need to update the value in-place.
https://github.com/llvm/llvm-project/pull/88955
More information about the Mlir-commits
mailing list