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

Method detach_threadpool

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

Source from the content-addressed store, hash-verified

567}
568
569void llama_context::detach_threadpool() {
570 LLAMA_LOG_DEBUG("%s: call\n", __func__);
571
572 this->threadpool = nullptr;
573 this->threadpool_batch = nullptr;
574}
575
576void llama_context::set_n_threads(int32_t n_threads, int32_t n_threads_batch) {
577 LLAMA_LOG_DEBUG("%s: n_threads = %d, n_threads_batch = %d\n", __func__, n_threads, n_threads_batch);

Callers 1

llama_detach_threadpoolFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected