forked from huawei/mindspore2022
modify hccl dlopen for ma
This commit is contained in:
parent
dcd9d18411
commit
ffdf24f14c
|
|
@ -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…
Reference in New Issue