modify hccl dlopen for ma

This commit is contained in:
changzherui 2021-07-09 11:44:49 +08:00
parent dcd9d18411
commit ffdf24f14c
1 changed files with 1 additions and 1 deletions

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();
}