| 558 | } |
| 559 | |
| 560 | void llama_context::attach_threadpool( |
| 561 | ggml_threadpool_t threadpool, |
| 562 | ggml_threadpool_t threadpool_batch) { |
| 563 | LLAMA_LOG_DEBUG("%s: call\n", __func__); |
| 564 | |
| 565 | this->threadpool = threadpool; |
| 566 | this->threadpool_batch = threadpool_batch ? threadpool_batch : threadpool; |
| 567 | } |
| 568 | |
| 569 | void llama_context::detach_threadpool() { |
| 570 | LLAMA_LOG_DEBUG("%s: call\n", __func__); |
no outgoing calls
no test coverage detected