summaryrefslogtreecommitdiff
path: root/examples/llama-bench
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-05-22 20:04:20 +0300
committerGitHub <noreply@github.com>2024-05-22 20:04:20 +0300
commit6ff13987ad1a9519bee13dd98b6a21cd98979aab (patch)
treee085c9fbac76f57dbbef6233b42eb981352e9925 /examples/llama-bench
parent38c03478a37e460ecd3a21155b338a83bfed7f90 (diff)
common : normalize naming style (#7462)
* common : normalize naming style ggml-ci * common : match declaration / definition order * zig : try to fix build
Diffstat (limited to 'examples/llama-bench')
-rw-r--r--examples/llama-bench/llama-bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/llama-bench/llama-bench.cpp b/examples/llama-bench/llama-bench.cpp
index 6bb1f70c..2afdb3ab 100644
--- a/examples/llama-bench/llama-bench.cpp
+++ b/examples/llama-bench/llama-bench.cpp
@@ -200,7 +200,7 @@ static const cmd_params cmd_params_defaults = {
/* n_ubatch */ {512},
/* type_k */ {GGML_TYPE_F16},
/* type_v */ {GGML_TYPE_F16},
- /* n_threads */ {get_math_cpu_count()},
+ /* n_threads */ {cpu_get_num_math()},
/* n_gpu_layers */ {99},
/* split_mode */ {LLAMA_SPLIT_MODE_LAYER},
/* main_gpu */ {0},