| 3078 | } |
| 3079 | |
| 3080 | void llama_attach_threadpool( |
| 3081 | llama_context * ctx, |
| 3082 | ggml_threadpool_t threadpool, |
| 3083 | ggml_threadpool_t threadpool_batch) { |
| 3084 | ctx->attach_threadpool(threadpool, threadpool_batch); |
| 3085 | } |
| 3086 | |
| 3087 | void llama_detach_threadpool(llama_context * ctx) { |
| 3088 | ctx->detach_threadpool(); |
no test coverage detected