From: Georgi Gerganov Date: Sun, 8 Sep 2024 08:10:43 +0000 (+0300) Subject: examples : add null threadpool args where needed (ggml/0) X-Git-Tag: upstream/0.0.4488~696 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=a6809c6a2e8163cba296d4cc0c5cd4bbc8073638;p=pkg%2Fggml%2Fsources%2Fllama.cpp examples : add null threadpool args where needed (ggml/0) ggml-ci --- diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index c5c98dbe..51532c5e 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -19753,8 +19753,8 @@ void ggml_threadpool_resume(struct ggml_threadpool * threadpool) { struct ggml_cplan ggml_graph_plan( const struct ggml_cgraph * cgraph, - int n_threads, - struct ggml_threadpool * threadpool) { + int n_threads, + struct ggml_threadpool * threadpool) { if (threadpool == NULL) { GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads);