!1199 fix profiling core dump

Merge pull request !1199 from caifubi/fix-profiling-core-dump
pull/1199/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 590e3f5e62

@ -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()),
ret->second);
graph_profiling_cnode_.erase(ret);
graph_reporter.ReportData();
}
} // namespace ascend

Loading…
Cancel
Save