pull/1327/head
wangxiaotian22 4 years ago
parent 470bd17be6
commit 86b428ca01

@ -1225,7 +1225,7 @@ Status StreamAllocator::InsertSyncEventNodes() {
GE_CHK_BOOL_EXEC(AttrUtils::SetInt(op_desc_ptr, RECV_ATTR_EVENT_ID, event_id),
REPORT_INNER_ERROR("E19999", "Set Attr:%s for op:%s(%s) failed, event_id:%u, when %s",
RECV_ATTR_EVENT_ID.c_str(),
node->GetName().c_str(), node->GetType().c_str(), __FUNCTION__);
node->GetName().c_str(), node->GetType().c_str(), event_id, __FUNCTION__);
GELOGE(FAILED, "SetInt failed.");
return FAILED);
(void)AttrUtils::SetListStr(op_desc_ptr, ATTR_NAME_DATA_DUMP_ORIGIN_OP_NAMES,

@ -167,7 +167,7 @@ Status TaskGenerator::AddModelTaskToModel(const ModelTaskDef &model_task_def, ui
return FAILED;
}
if (!AttrUtils::SetZeroCopyBytes(model, MODEL_ATTR_TASKS, std::move(serial_buff))) {
REPORT_INNER_ERROR("E19999", "Set model task to model failed, model name = %s, task_size=%zu.",
REPORT_INNER_ERROR("E19999", "Set model task to model failed, model name = %s, task_size=%zu when %s",
model.GetName().c_str(), task_size, __FUNCTION__);
GELOGE(FAILED, "Set model task to model failed, model name = %s, task_size=%zu.", model.GetName().c_str(),
task_size);
@ -497,9 +497,9 @@ Status TaskGenerator::GenerateTaskForFusionNode(FusionTaskInfo &fusion_task_info
size_t task_list_size_after = task_def_list.size();
// if tasks is reduced
if (task_list_size_after < task_list_size_before) {
REPORT_INNER_ERROR("E19999", "InsertProfilingTask for fusion_node:[fusion_node_name:%s(%s), "
REPORT_INNER_ERROR("E19999", "InsertProfilingTask for fusion_node:[fusion_node_name:%s(%s), kernel_name:%s"
"id:%ld, stream_id:%ld] task, but task num from %zu to %zu, check invalid when %s",
op_kernel_lib_name.c_str(), fusion_node_name.c_str(), fusion_node_type.c_str(),
fusion_node_name.c_str(), fusion_node_type.c_str(), op_kernel_lib_name.c_str(),
op_id, stream_id, task_list_size_before, task_list_size_after, __FUNCTION__);
GELOGE(FAILED,
"Fusion: Call %s to generate fusion_node:[fusion_node_name:%s(%s), "

Loading…
Cancel
Save