!47930 fix windows gpu

Merge pull request !47930 from zhoufeng/fix-windows-gpu-alpha
This commit is contained in:
i-robot 2023-01-18 08:30:57 +00:00 committed by Gitee
commit adde00125d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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.";