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

Function ggml_gallocr_new

subprojects/llama.cpp/ggml/src/ggml-alloc.c:537–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537ggml_gallocr_t ggml_gallocr_new(ggml_backend_buffer_type_t buft) {
538 return ggml_gallocr_new_n(&buft, 1);
539}
540
541void ggml_gallocr_free(ggml_gallocr_t galloc) {
542 if (galloc == NULL) {

Callers 3

power_iterationFunction · 0.85
lora_merge_ctxMethod · 0.85
allocate_graphFunction · 0.85

Calls 1

ggml_gallocr_new_nFunction · 0.85

Tested by 1

allocate_graphFunction · 0.68