modify hccl dlopen
This commit is contained in:
parent
912ce8f0fb
commit
71d5e90c99
|
@ -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