From 5128729c504af09bda8b5fac9798f489e20bbf8f Mon Sep 17 00:00:00 2001 From: Aaron Teo Date: Thu, 12 Mar 2026 23:53:20 +0800 Subject: [PATCH] llama-bench: rm todo comment Signed-off-by: Aaron Teo --- tools/llama-bench/llama-bench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llama-bench/llama-bench.cpp b/tools/llama-bench/llama-bench.cpp index a837059a45..4e3ee3a0b8 100644 --- a/tools/llama-bench/llama-bench.cpp +++ b/tools/llama-bench/llama-bench.cpp @@ -1071,7 +1071,7 @@ static cmd_params parse_cmd_params(int argc, char ** argv) { // check if user specified `--direct-io` without `--mmap` // if so, we disable mmap to avoid the situation where they see no difference if (params.use_mmap.empty() && !params.use_direct_io.empty()) { - params.use_mmap.push_back(false); // TODO: DOUBLE CHECK IF WE NEED TO false x params.use_direct_io.size() + params.use_mmap.push_back(false); } else if (params.use_mmap.size() != params.use_direct_io.size()) { // if both are specified, they must have the same number of values fprintf(stderr, "error: --mmap and --direct-io must have the same number of values\n");