| 2311 | } |
| 2312 | |
| 2313 | void llama_set_n_threads(llama_context * ctx, int32_t n_threads, int32_t n_threads_batch) { |
| 2314 | ctx->set_n_threads(n_threads, n_threads_batch); |
| 2315 | } |
| 2316 | |
| 2317 | int32_t llama_n_threads(llama_context * ctx) { |
| 2318 | return ctx->n_threads(); |