modify hccl dlopen

This commit is contained in:
changzherui 2021-07-09 11:43:12 +08:00
parent 912ce8f0fb
commit 71d5e90c99
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();
}