Browse Source

bugfix for l1 data dump

tags/v1.2.0
gengchao4@huawei.com 4 years ago
parent
commit
fbdc977090
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/load/new_model_manager/davinci_model.cc

+ 1
- 1
ge/graph/load/new_model_manager/davinci_model.cc View File

@@ -4162,8 +4162,8 @@ Status DavinciModel::InitL1DataDumperArgs() {
// send l1fusion dump addr to rts
if (rtDumpAddrSet(rt_model_handle_, l1_fusion_addr_, kDumpL1FusionOpMByteSize, kDumpFlagOfL1Fusion) !=
RT_ERROR_NONE) {
// l1_fusion_addr_ will be free when DavinciModel destruct
GELOGE(FAILED, "Call rtDumpAddrSet failed");
GE_CHK_RT(rtFree(l1_fusion_addr_));
return FAILED;
}



Loading…
Cancel
Save