Browse Source

Support online debugger for ascend mindRT kernel by kernel

r1.7
Parastoo Ashtari 4 years ago
parent
commit
018433e649
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      mindspore/ccsrc/runtime/graph_scheduler/actor/debug_actor.cc

+ 0
- 4
mindspore/ccsrc/runtime/graph_scheduler/actor/debug_actor.cc View File

@@ -81,10 +81,6 @@ void DebugActor::Debug(const AnfNodePtr &node, const KernelLaunchInfo *launch_in
auto debugger = Debugger::GetInstance();
if (debugger != nullptr) {
debugger->SetAscendKernelByKernelFlag(true);
if (debugger->CheckDebuggerEnabled()) {
std::string error_info = "Debugger is not supported with kernel-by-kernel ascend.";
SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*op_context), error_info);
}
bool read_data = CheckReadData(cnode);
if (read_data) {
ReadDataAndDump(cnode, launch_info_, exec_order_, device_context);


Loading…
Cancel
Save