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

Function ggml_bitset_get

subprojects/llama.cpp/ggml/src/ggml-impl.h:203–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203static inline bool ggml_bitset_get(const ggml_bitset_t * bitset, size_t i) {
204 return !!(bitset[i >> BITSET_SHR] & (1u << (i & BITSET_MASK)));
205}
206
207static inline void ggml_bitset_set(ggml_bitset_t * bitset, size_t i) {
208 bitset[i >> BITSET_SHR] |= (1u << (i & BITSET_MASK));

Callers 13

ggml_compute_backwardFunction · 0.85
ggml_visit_parents_graphFunction · 0.85
ggml_graph_cpyFunction · 0.85
ggml_graph_get_gradFunction · 0.85
ggml_graph_get_grad_accFunction · 0.85
dup_graphFunction · 0.85
ggml_hash_findFunction · 0.85
ggml_hash_containsFunction · 0.85
ggml_hash_insertFunction · 0.85
ggml_hash_find_or_insertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected