fix windows gpu

Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
This commit is contained in:
zhoufeng 2023-01-16 14:31:21 +08:00
parent 39ef744411
commit 20d0833e48
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ bool PluginLoader::GetPluginPath(std::string *file_path) {
#ifndef _WIN32
auto plugin_so_path = cur_so_path.substr(0, pos) + "/plugin";
#else
auto plugin_so_path = cur_so_path.substr(0, pos);
auto plugin_so_path = cur_so_path.substr(0, pos) + "\\bin";
#endif
if (plugin_so_path.size() >= PATH_MAX) {
MS_LOG(INFO) << "Current path [" << plugin_so_path << "] is invalid.";