MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_get_mem_size

Function ggml_get_mem_size

ggml.c:2332–2334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2330}
2331
2332size_t ggml_get_mem_size(const struct ggml_context * ctx) {
2333 return ctx->mem_size;
2334}
2335
2336size_t ggml_get_max_tensor_size(const struct ggml_context * ctx) {
2337 size_t max_size = 0;

Callers 6

clip_model_loadFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
gguf_ex_read_1Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected