MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_hash_set_reset

Function ggml_hash_set_reset

subprojects/llama.cpp/ggml/src/ggml.c:6115–6117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6113}
6114
6115void ggml_hash_set_reset(struct ggml_hash_set * hash_set) {
6116 memset(hash_set->used, 0, sizeof(ggml_bitset_t) * ggml_bitset_size(hash_set->size));
6117}
6118
6119void ggml_hash_set_free(struct ggml_hash_set * hash_set) {
6120 GGML_FREE(hash_set->used);

Callers 4

ggml_new_graph_customFunction · 0.85
ggml_graph_clearFunction · 0.85
ggml_backend_sched_resetFunction · 0.85

Calls 1

ggml_bitset_sizeFunction · 0.85

Tested by

no test coverage detected