Browse Source

!16939 Fixing core dumped issue in GPU for single graph

From: @parastooashtari
Reviewed-by: @john_tzanakakis,@yelihua
Signed-off-by: @john_tzanakakis
tags/v1.3.0
mindspore-ci-bot Gitee 4 years ago
parent
commit
20c8905f4a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/debug/debugger/debugger.cc

+ 1
- 1
mindspore/ccsrc/debug/debugger/debugger.cc View File

@@ -340,7 +340,7 @@ void Debugger::PreExecute(const KernelGraphPtr &graph_ptr, uint32_t graph_sum) {
}
} else if (graph_proto_list_.size() == 1) {
if (device_target_ == kGPUDevice && num_step_ != 0) {
if (!(run_level_ == "node" && suspended_at_last_kernel_)) {
if (debugger_enabled_ && !(run_level_ == "node" && suspended_at_last_kernel_)) {
CommandLoop();
}
debug_services_->ResetLoadedTensors();


Loading…
Cancel
Save