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

Function ggml_bitset_set

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

Source from the content-addressed store, hash-verified

205}
206
207static inline void ggml_bitset_set(ggml_bitset_t * bitset, size_t i) {
208 bitset[i >> BITSET_SHR] |= (1u << (i & BITSET_MASK));
209}
210
211static inline void ggml_bitset_clear(ggml_bitset_t * bitset, size_t i) {
212 bitset[i >> BITSET_SHR] &= ~(1u << (i & BITSET_MASK));

Callers 4

ggml_visit_parents_graphFunction · 0.85
ggml_hash_insertFunction · 0.85
ggml_hash_find_or_insertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected