| @@ -145,7 +145,7 @@ bool HcclExecutorManager::Initialize() { | |||||
| return false; | return false; | ||||
| } | } | ||||
| auto HcomExecutorInitialize = (HcclResult(*)())dlsym(handle_, "HcomExcutorInitialize"); | |||||
| auto HcomExecutorInitialize = (HcclResult(*)())dlsym(handle_, "HcomExecInitialize"); | |||||
| if (HcomExecutorInitialize == nullptr) { | if (HcomExecutorInitialize == nullptr) { | ||||
| MS_LOG(ERROR) << "dlsym HcomExecutorInitialize failed"; | MS_LOG(ERROR) << "dlsym HcomExecutorInitialize failed"; | ||||
| return false; | return false; | ||||
| @@ -167,7 +167,7 @@ bool HcclExecutorManager::Finalize() { | |||||
| if (!initialized_) { | if (!initialized_) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| auto HcomExecutorFinalize = (HcclResult(*)())dlsym(handle_, "HcomExcutorFinalize"); | |||||
| auto HcomExecutorFinalize = (HcclResult(*)())dlsym(handle_, "HcomExecFinalize"); | |||||
| if (HcomExecutorFinalize == nullptr) { | if (HcomExecutorFinalize == nullptr) { | ||||
| MS_LOG(ERROR) << "Fail to dlsym HcomExecutorFinalize"; | MS_LOG(ERROR) << "Fail to dlsym HcomExecutorFinalize"; | ||||
| return false; | return false; | ||||
| @@ -185,7 +185,7 @@ bool HcclExecutorManager::Finalize() { | |||||
| return true; | return true; | ||||
| } | } | ||||
| void *HcclExecutorManager::GetHcomOpertion() { return dlsym(handle_, "EnqueueHcomOpertion"); } | |||||
| void *HcclExecutorManager::GetHcomOpertion() { return dlsym(handle_, "HcomExecEnqueueOperation"); } | |||||
| void HcclExecutorManager::CloseHandle() { | void HcclExecutorManager::CloseHandle() { | ||||
| if (dlclose(handle_) != 0) { | if (dlclose(handle_) != 0) { | ||||
| MS_LOG(WARNING) << "Failed to close hcom handle"; | MS_LOG(WARNING) << "Failed to close hcom handle"; | ||||