| 1008 | |
| 1009 | |
| 1010 | void 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 | |
| 1019 | void llama_context::detach_threadpool() { |
| 1020 | LLAMA_LOG_DEBUG("%s: call\n", __func__); |
no outgoing calls
no test coverage detected