Jelajahi Sumber

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

ggml-ci
Georgi Gerganov 1 tahun lalu
induk
melakukan
a6809c6a2e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      ggml/src/ggml.c

+ 2 - 2
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);