mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-21 15:49:31 +08:00
[Bug Fix] fix bug in benchmark option.h
This commit is contained in:
@@ -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"]),
|
||||
|
Reference in New Issue
Block a user