Browse Source

update ccStatus

tags/v1.2.0
taoxiangdong 3 years ago
parent
commit
c59a698bce
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ge/graph/load/new_model_manager/task_info/kernel_task_info.cc

+ 2
- 2
ge/graph/load/new_model_manager/task_info/kernel_task_info.cc View File

@@ -1161,9 +1161,9 @@ Status KernelTaskInfo::CceUpdateKernelArgs(const domi::KernelContext &context, u
GELOGE(GE_PLGMGR_SO_NOT_EXIST, "Failed in dlopen %s! ", error);
return FAILED;
}
cce::ccStatus_t cc_ret;
ccStatus_t cc_ret;
std::string update_kernel_args = "ccUpdateKernelArgs";
auto cceUpdateKernelArgs = (cce::ccStatus_t(*)(ccOpContext &, uint64_t, uint64_t, uint64_t, void *, uint64_t,
auto cceUpdateKernelArgs = (ccStatus_t(*)(ccOpContext &, uint64_t, uint64_t, uint64_t, void *, uint64_t,
void *))mmDlsym(handle, const_cast<char *>(update_kernel_args.c_str()));
if (cceUpdateKernelArgs == nullptr) {
GELOGE(FAILED, "Failed to invoke function ccUpdateKernelArgs");


Loading…
Cancel
Save