| 567 | } |
| 568 | |
| 569 | void llama_context::detach_threadpool() { |
| 570 | LLAMA_LOG_DEBUG("%s: call\n", __func__); |
| 571 | |
| 572 | this->threadpool = nullptr; |
| 573 | this->threadpool_batch = nullptr; |
| 574 | } |
| 575 | |
| 576 | void 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); |
no outgoing calls
no test coverage detected