]> git.djapps.eu Git - pkg/ggml/sources/llama.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>
Fri, 20 Sep 2024 18:15:05 +0000 (21:15 +0300)
ggml-ci

ggml/src/ggml.c

index c5c98dbe4bf68c7c1377f281b98043e13ebaa18a..51532c5eaaad5f3bcd3432f49d867baa04115508 100644 (file)
@@ -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);