Просмотр исходного кода

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

ggml-ci
Georgi Gerganov 1 год назад
Родитель
Сommit
a6809c6a2e
1 измененных файлов с 2 добавлено и 2 удалено
  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);