提交 8a845e2f 编写于 作者: C caifubi

fix profiling core dump

上级 a3110549
...@@ -324,6 +324,7 @@ void ProfilingUtils::ReportProfilingData(const std::vector<uint32_t> &task_ids, ...@@ -324,6 +324,7 @@ void ProfilingUtils::ReportProfilingData(const std::vector<uint32_t> &task_ids,
GraphDescReporter graph_reporter(context->device_id(), "vm.graph_desc_info_" + std::to_string(graph->graph_id()), GraphDescReporter graph_reporter(context->device_id(), "vm.graph_desc_info_" + std::to_string(graph->graph_id()),
ret->second); ret->second);
graph_profiling_cnode_.erase(ret);
graph_reporter.ReportData(); graph_reporter.ReportData();
} }
} // namespace ascend } // namespace ascend
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册