mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 22:59:24 +01:00
examples : add null threadpool args where needed (ggml/0)
ggml-ci
This commit is contained in:
parent
5cb12f6839
commit
a6809c6a2e
@ -19753,8 +19753,8 @@ void ggml_threadpool_resume(struct ggml_threadpool * threadpool) {
|
|||||||
|
|
||||||
struct ggml_cplan ggml_graph_plan(
|
struct ggml_cplan ggml_graph_plan(
|
||||||
const struct ggml_cgraph * cgraph,
|
const struct ggml_cgraph * cgraph,
|
||||||
int n_threads,
|
int n_threads,
|
||||||
struct ggml_threadpool * threadpool) {
|
struct ggml_threadpool * threadpool) {
|
||||||
|
|
||||||
if (threadpool == NULL) {
|
if (threadpool == NULL) {
|
||||||
GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads);
|
GGML_PRINT_DEBUG("Threadpool is not specified. Will create a disposable threadpool : n_threads %d\n", n_threads);
|
||||||
|
Loading…
Reference in New Issue
Block a user