Browse Source

!15551 [MS][dump]Dumpdata use case operation failure report core dump

From: @islam_amin
Reviewed-by: @john_tzanakakis,@yelihua
Signed-off-by: @yelihua
pull/15551/MERGE
mindspore-ci-bot Gitee 4 years ago
parent
commit
01458ca130
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      mindspore/ccsrc/debug/debugger/debugger.cc
  2. +3
    -0
      mindspore/ccsrc/pipeline/jit/pipeline.cc

+ 2
- 0
mindspore/ccsrc/debug/debugger/debugger.cc View File

@@ -288,6 +288,8 @@ void Debugger::Reset() {
last_overflow_bin_ = 0;
overflow_bin_path_.clear();
stream_task_to_opname_.clear();
graph_proto_list_.clear();
graph_ptr_list_.clear();
}

void Debugger::PreExecute(const KernelGraphPtr &graph_ptr, uint32_t graph_sum) {


+ 3
- 0
mindspore/ccsrc/pipeline/jit/pipeline.cc View File

@@ -1167,6 +1167,9 @@ void ClearResAtexit() {
device::KernelRuntimeManager::Instance().ClearRuntimeResource();
ReleaseGeTsd();
parse::python_adapter::ResetPythonScope();
#ifdef ENABLE_DEBUGGER
Debugger::GetInstance()->Reset();
#endif
}
} // namespace pipeline
} // namespace mindspore

Loading…
Cancel
Save