[Mlir-commits] [mlir] [mlir][sparse] Expand LevelType to 64 bits and implement parsing n out of m (PR #79935)
Yinying Li
llvmlistbot at llvm.org
Fri Feb 2 11:39:39 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;
----------------
yinying-lisa-li wrote:
To avoid naming conflict with the enum, I used this name. Reasoning for keeping the enum is in the other comment.
https://github.com/llvm/llvm-project/pull/79935
More information about the Mlir-commits
mailing list