提交 590e3f5e 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1199 fix profiling core dump

Merge pull request !1199 from caifubi/fix-profiling-core-dump
...@@ -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.
先完成此消息的编辑!
想要评论请 注册