Browse Source

Aicpu single_op always dynamic execute.

tags/v1.5.1
zhaozhixuan 4 years ago
parent
commit
f840399fc3
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      ge/single_op/task/op_task.cc

+ 0
- 1
ge/single_op/task/op_task.cc View File

@@ -450,7 +450,6 @@ Status AiCpuBaseTask::SetExtInfoAndType(const std::string &kernel_ext_info, uint

GE_CHK_STATUS_RET(aicpu_ext_handle_->UpdateSessionInfo(ULLONG_MAX, kernel_id, false),
"[Update][SessionInfo] failed.");
GE_CHK_STATUS_RET(aicpu_ext_handle_->UpdateExecuteMode(true), "[Update][ExecuteMode] failed.");

GE_CHK_RT_RET(rtMalloc(&ext_info_addr_dev_, aicpu_ext_handle_->GetExtInfoLen(), RT_MEMORY_HBM));
GE_CHK_RT_RET(rtMemcpy(ext_info_addr_dev_, aicpu_ext_handle_->GetExtInfoLen(),


Loading…
Cancel
Save