mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-12 21:37:19 +01:00
Update ggml/src/ggml.c
This commit is contained in:
parent
f9196c9174
commit
6b0248c29a
@ -20239,7 +20239,7 @@ enum ggml_status ggml_graph_compute(struct ggml_cgraph * cgraph, struct ggml_cpl
|
|||||||
ggml_graph_compute_thread(&threadpool->workers[omp_get_thread_num()]);
|
ggml_graph_compute_thread(&threadpool->workers[omp_get_thread_num()]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
threadpool->n_threads_cur = 1;
|
atomic_store_explicit(&threadpool->n_threads_cur, 1, memory_order_relaxed);
|
||||||
ggml_graph_compute_thread(&threadpool->workers[0]);
|
ggml_graph_compute_thread(&threadpool->workers[0]);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user