diff --git a/ge/common/dump/dump_op.cc b/ge/common/dump/dump_op.cc index fe0dce9b..12a1572f 100755 --- a/ge/common/dump/dump_op.cc +++ b/ge/common/dump/dump_op.cc @@ -130,7 +130,7 @@ Status DumpOp::DumpInput(aicpu::dump::Task &task) { } int64_t input_size = 0; if (TensorUtils::GetTensorSizeInBytes(input_descs.at(i), input_size) != SUCCESS) { - GELOGE(ACL_ERROR_GE_INTERNAL_ERROR, "[Get][TensorSize]Failed, iutput_size %d", iutput_size); + GELOGE(ACL_ERROR_GE_INTERNAL_ERROR, "[Get][TensorSize]Failed, input_size %d", input_size); REPORT_CALL_ERROR("E19999", "Get input size %d failed", input_size); return ACL_ERROR_GE_INTERNAL_ERROR; } @@ -205,7 +205,7 @@ Status DumpOp::ExecutorDumpOp(aicpu::dump::OpMappingInfo &op_mapping_info) { stream_); if (rt_ret != RT_ERROR_NONE) { GELOGE(rt_ret, "Call rtCpuKernelLaunch failed, ret:0x%X", rt_ret); - REPORT_CALL_ERROR("E19999", "Call rtCpuKernelLaunch failed, ret: 0x%X", rt_ret) + REPORT_CALL_ERROR("E19999", "Call rtCpuKernelLaunch failed, ret: 0x%X", rt_ret); return RT_ERROR_TO_GE_STATUS(rt_ret); } GELOGI("Kernel launch dump op success"); diff --git a/ge/common/dump/opdebug_register.cc b/ge/common/dump/opdebug_register.cc index b8f38652..c8ca741e 100644 --- a/ge/common/dump/opdebug_register.cc +++ b/ge/common/dump/opdebug_register.cc @@ -79,7 +79,7 @@ Status OpdebugRegister::RegisterDebugForStream(rtStream_t stream, uint32_t op_de GELOGE(ret, "[Malloc][MemForOpdebug]Failed in stream overflow, ret:0x%X", ret); REPORT_CALL_ERROR("E19999", "Malloc memory for opdebug failed in model overflow, " "ret:0x%X", ret); - return ret + return ret; } uint32_t debug_stream_id = 0;