mirror of
https://github.com/RYDE-WORK/llama.cpp.git
synced 2026-02-06 15:53:17 +08:00
ggml : add GGML_DEFAULT_N_THREADS
This commit is contained in:
parent
d990e3fffc
commit
a3a2a0eda8
2
ggml.c
2
ggml.c
@ -9363,7 +9363,7 @@ struct ggml_cgraph ggml_build_forward(struct ggml_tensor * tensor) {
|
||||
struct ggml_cgraph result = {
|
||||
/*.n_nodes =*/ 0,
|
||||
/*.n_leafs =*/ 0,
|
||||
/*.n_threads =*/ 0,
|
||||
/*.n_threads =*/ GGML_DEFAULT_N_THREADS,
|
||||
/*.work_size =*/ 0,
|
||||
/*.work =*/ NULL,
|
||||
/*.nodes =*/ { NULL },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user