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

Function ggml_set_no_alloc

ggml.c:2324–2326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2322}
2323
2324void ggml_set_no_alloc(struct ggml_context * ctx, bool no_alloc) {
2325 ctx->no_alloc = no_alloc;
2326}
2327
2328void * ggml_get_mem_buffer(const struct ggml_context * ctx) {
2329 return ctx->mem_buffer;

Callers 5

ggml_graph_importFunction · 0.70
gguf_init_from_fileFunction · 0.70
create_tensor_forMethod · 0.70
buffered_allocMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected