MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / attach_threadpool

Method attach_threadpool

src/llama-context.cpp:1010–1017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008
1009
1010void llama_context::attach_threadpool(
1011 ggml_threadpool_t threadpool,
1012 ggml_threadpool_t threadpool_batch) {
1013 LLAMA_LOG_DEBUG("%s: call\n", __func__);
1014
1015 this->threadpool = threadpool;
1016 this->threadpool_batch = threadpool_batch ? threadpool_batch : threadpool;
1017}
1018
1019void llama_context::detach_threadpool() {
1020 LLAMA_LOG_DEBUG("%s: call\n", __func__);

Callers 1

llama_attach_threadpoolFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected