ggerganov commited on
Commit
0bb7364
·
1 Parent(s): ed9150a

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

Browse files
Files changed (1) hide show
  1. ggml/src/ggml.c +2 -2
ggml/src/ggml.c CHANGED
@@ -19710,8 +19710,8 @@ void ggml_threadpool_resume(struct ggml_threadpool * threadpool) {
19710
 
19711
  struct ggml_cplan ggml_graph_plan(
19712
  const struct ggml_cgraph * cgraph,
19713
- int n_threads,
19714
- struct ggml_threadpool * threadpool) {
19715
 
19716
  if (threadpool == NULL) {
19717
  GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads);
 
19710
 
19711
  struct ggml_cplan ggml_graph_plan(
19712
  const struct ggml_cgraph * cgraph,
19713
+ int n_threads,
19714
+ struct ggml_threadpool * threadpool) {
19715
 
19716
  if (threadpool == NULL) {
19717
  GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads);