!43396 log when dvpp plugin loading failed

Merge pull request !43396 from zhoufeng/dvpp-log
This commit is contained in:
i-robot 2022-10-10 09:52:15 +00:00 committed by Gitee
commit 2ee398aa55
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ void AclAdapter::InitPlugin() {
#if !defined(_WIN32) && !defined(_WIN64)
plugin_handle_ = dlopen(kAclPluginFileName, RTLD_LAZY | RTLD_LOCAL);
if (plugin_handle_ == nullptr) {
MS_LOG(WARNING) << "Dlopen " << kAclPluginFileName << " failed, result = " << GetDlErrorMsg()
MS_LOG(INFO) << "Cannot dlopen " << kAclPluginFileName << ", result = " << GetDlErrorMsg()
<< ", it can be ignored if not running on ascend.";
return;
}