| 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); |
| 578 | |
| 579 | cparams.n_threads = n_threads; |
| 580 | cparams.n_threads_batch = n_threads_batch; |
| 581 | } |
| 582 | |
| 583 | void llama_context::set_abort_callback(bool (*abort_callback)(void * data), void * abort_callback_data) { |
| 584 | LLAMA_LOG_DEBUG("%s: call\n", __func__); |
no outgoing calls
no test coverage detected