!47930 fix windows gpu
Merge pull request !47930 from zhoufeng/fix-windows-gpu-alpha
This commit is contained in:
commit
adde00125d
|
@ -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.";
|
||||
|
|
Loading…
Reference in New Issue