Browse Source

modify hccl dlopen for ma

tags/v1.4.0
changzherui 4 years ago
parent
commit
ffdf24f14c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/runtime/hccl_adapter/hccl_adapter.cc

+ 1
- 1
mindspore/ccsrc/runtime/hccl_adapter/hccl_adapter.cc View File

@@ -87,7 +87,7 @@ void HcclAdapter::InitPlugin() {
return;
}

plugin_handle_ = dlopen(kHcclPluginFileName, RTLD_NOW | RTLD_GLOBAL);
plugin_handle_ = dlopen(kHcclPluginFileName, RTLD_NOW | RTLD_LOCAL);
if (plugin_handle_ == nullptr) {
MS_LOG(EXCEPTION) << "Dlopen " << kHcclPluginFileName << " failed, result = " << GetDlErrorMsg();
}


Loading…
Cancel
Save