forked from mindspore-Ecosystem/mindspore
fix windows gpu
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
This commit is contained in:
parent
39ef744411
commit
20d0833e48
|
@ -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