From 20d0833e483006eade7f52acdc02488f9d1ae7f2 Mon Sep 17 00:00:00 2001 From: zhoufeng Date: Mon, 16 Jan 2023 14:31:21 +0800 Subject: [PATCH] fix windows gpu Signed-off-by: zhoufeng --- mindspore/ccsrc/runtime/hardware/device_context_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/runtime/hardware/device_context_manager.cc b/mindspore/ccsrc/runtime/hardware/device_context_manager.cc index 26d57407556..724d9442ec5 100644 --- a/mindspore/ccsrc/runtime/hardware/device_context_manager.cc +++ b/mindspore/ccsrc/runtime/hardware/device_context_manager.cc @@ -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.";