examples : add null threadpool args where needed (ggml/0)

ggml-ci
This commit is contained in:
Georgi Gerganov 2024-09-08 11:10:43 +03:00
parent d39e26741f
commit bb51df5f81
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -19753,8 +19753,8 @@ void ggml_threadpool_resume(struct ggml_threadpool * threadpool) {
struct ggml_cplan ggml_graph_plan( struct ggml_cplan ggml_graph_plan(
const struct ggml_cgraph * cgraph, const struct ggml_cgraph * cgraph,
int n_threads, int n_threads,
struct ggml_threadpool * threadpool) { struct ggml_threadpool * threadpool) {
if (threadpool == NULL) { if (threadpool == NULL) {
GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads); GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads);