[Mlir-commits] [llvm] [mlir] [mlir][sparse] Change LevelType enum to 64 bit (PR #80501)

Aart Bik llvmlistbot at llvm.org
Fri Feb 2 17:33:02 PST 2024


================
@@ -25,6 +25,8 @@ 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 MlirBaseLevelType;
+
 enum MlirSparseTensorLevelType {
----------------
aartbik wrote:

and this should be the base

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


More information about the Mlir-commits mailing list