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

Function llama_attach_threadpool

smallthinker/src/llama-context.cpp:2302–2307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2300}
2301
2302void llama_attach_threadpool(
2303 llama_context * ctx,
2304 ggml_threadpool_t threadpool,
2305 ggml_threadpool_t threadpool_batch) {
2306 ctx->attach_threadpool(threadpool, threadpool_batch);
2307}
2308
2309void llama_detach_threadpool(llama_context * ctx) {
2310 ctx->detach_threadpool();

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

attach_threadpoolMethod · 0.80

Tested by

no test coverage detected