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/1.7.4~423 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=253ce3000463adb7e1e1eee9cd7991464b625fb6;p=pkg%2Fggml%2Fsources%2Fwhisper.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 28ee46e0..f188e448 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -19710,8 +19710,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);