| 2300 | } |
| 2301 | |
| 2302 | void llama_attach_threadpool( |
| 2303 | llama_context * ctx, |
| 2304 | ggml_threadpool_t threadpool, |
| 2305 | ggml_threadpool_t threadpool_batch) { |
| 2306 | ctx->attach_threadpool(threadpool, threadpool_batch); |
| 2307 | } |
| 2308 | |
| 2309 | void llama_detach_threadpool(llama_context * ctx) { |
| 2310 | ctx->detach_threadpool(); |
no test coverage detected