This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
release resources debugger fix
pull/15551/head
Islam Amin
4 years ago
parent
9daed0bea5
commit
2b20166d23
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
mindspore/ccsrc/debug/debugger/debugger.cc
+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
@@ -1226,6 +1226,9 @@ void ClearResAtexit() {
device::KernelRuntimeManager::Instance().ClearRuntimeResource();
ReleaseGeTsd();
parse::python_adapter::ResetPythonScope();
#ifdef ENABLE_DEBUGGER
Debugger::GetInstance()->Reset();
#endif
}
} // namespace pipeline
} // namespace mindspore
Write
Preview
Loading…
Cancel
Save