From 876cc645cb485abf3f5b225aabfd8e31cc4245b0 Mon Sep 17 00:00:00 2001 From: DefTruth <31974251+DefTruth@users.noreply.github.com> Date: Fri, 17 Mar 2023 23:17:01 +0800 Subject: [PATCH] [Bug Fix] fix bug in benchmark option.h --- benchmark/cpp/option.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/cpp/option.h b/benchmark/cpp/option.h index 329a630dc..fc6fd4276 100755 --- a/benchmark/cpp/option.h +++ b/benchmark/cpp/option.h @@ -86,7 +86,7 @@ static bool CreateRuntimeOption(fastdeploy::RuntimeOption* option, } } else if (config_info["device"] == "xpu") { if (FLAGS_xpu_l3_cache >= 0) { - option->UseKunlunXin(std::stoi(config_info["device_id"], + option->UseKunlunXin(std::stoi(config_info["device_id"]), FLAGS_xpu_l3_cache); } else { option->UseKunlunXin(std::stoi(config_info["device_id"]),