[Mlir-commits] [mlir] [mlir][sparse] Expand LevelType to 64 bits and implement parsing n out of m (PR #79935)

Aart Bik llvmlistbot at llvm.org
Thu Feb 1 16:16:42 PST 2024


================
@@ -25,21 +25,24 @@ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(SparseTensor, sparse_tensor);
 /// These correspond to SparseTensorEncodingAttr::LevelType in the C++ API.
 /// If updating, keep them in sync and update the static_assert in the impl
 /// file.
+
+typedef uint64_t level_type;
+
 enum MlirSparseTensorLevelType {
----------------
aartbik wrote:

so, now the difference is that these still fit in 32-bit?

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


More information about the Mlir-commits mailing list