Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
537
ggml_gallocr_t ggml_gallocr_new(ggml_backend_buffer_type_t buft) {
538
return ggml_gallocr_new_n(&buft, 1);
539
}
540
541
void ggml_gallocr_free(ggml_gallocr_t galloc) {
542
if (galloc == NULL) {
Callers
3
power_iteration
Function · 0.85
lora_merge_ctx
Method · 0.85
allocate_graph
Function · 0.85
Calls
1
ggml_gallocr_new_n
Function · 0.85
Tested by
1
allocate_graph
Function · 0.68