From: zhouwg Date: Wed, 6 Mar 2024 22:21:44 +0000 (+0800) Subject: examples : fix typo in bench.cpp (#1933) X-Git-Tag: upstream/1.7.4~934 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c0c0ae2dea1f6f8e4f4b17c2138a3f4ff1eaa03f;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp examples : fix typo in bench.cpp (#1933) --- diff --git a/examples/bench/bench.cpp b/examples/bench/bench.cpp index 60d10a2c..b77621ac 100644 --- a/examples/bench/bench.cpp +++ b/examples/bench/bench.cpp @@ -8,7 +8,7 @@ // command-line parameters struct whisper_params { int32_t n_threads = std::min(4, (int32_t) std::thread::hardware_concurrency()); - int32_t what = 0; // what to benchmark: 0 - whisper ecoder, 1 - memcpy, 2 - ggml_mul_mat + int32_t what = 0; // what to benchmark: 0 - whisper encoder, 1 - memcpy, 2 - ggml_mul_mat std::string model = "models/ggml-base.en.bin";