]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
examples : add null threadpool args where needed (ggml/0)
authorGeorgi Gerganov <redacted>
Sun, 8 Sep 2024 08:10:43 +0000 (11:10 +0300)
committerGeorgi Gerganov <redacted>
Tue, 24 Sep 2024 16:45:08 +0000 (19:45 +0300)
ggml-ci

ggml/src/ggml.c

index 28ee46e042bbce644505a77114ad3440cef08ad4..f188e448e7a3c5b59554a544e81aea9794c01601 100644 (file)
@@ -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);