Browse Source

opdebug bug

tags/v1.3.0
zhou_chao1993 3 years ago
parent
commit
c16ae97d6e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/load/model_manager/task_info/kernel_ex_task_info.cc

+ 1
- 1
ge/graph/load/model_manager/task_info/kernel_ex_task_info.cc View File

@@ -270,7 +270,7 @@ Status KernelExTaskInfo::Init(const domi::TaskDef &task_def, DavinciModel *davin
}

void KernelExTaskInfo::InitDumpTask(void *addr, const OpDescPtr &op_desc) {
if (davinci_model_->OpNeedDump(op_desc->GetName()) || davinci_model_->GetOpDugReg()) {
if (davinci_model_->OpNeedDump(op_desc->GetName())) {
GELOGD("Op %s need dump in kernel ex task info", op_desc->GetName().c_str());
dump_flag_ = RT_KERNEL_DUMPFLAG;
dump_args_ = addr;


Loading…
Cancel
Save