diff options
Diffstat (limited to 'ggml-impl.h')
-rw-r--r-- | ggml-impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ggml-impl.h b/ggml-impl.h index 2faced08..2c58075a 100644 --- a/ggml-impl.h +++ b/ggml-impl.h @@ -228,6 +228,8 @@ inline static float ggml_lookup_fp16_to_fp32(ggml_fp16_t f) { #define GGML_HASHTABLE_FULL ((size_t)-1) #define GGML_HASHTABLE_ALREADY_EXISTS ((size_t)-2) +struct ggml_hash_set ggml_hash_set_new(size_t size); + bool ggml_hash_contains (const struct ggml_hash_set hash_set, struct ggml_tensor * key); // returns GGML_HASHTABLE_FULL if table is full, otherwise the current index of the key or where it should be inserted |