Searched refs:debugger_ (Results 1 – 9 of 9) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/debug/debugger/ |
D | debugger.cc | 64 DebuggerPtr Debugger::debugger_ = nullptr; member in mindspore::Debugger 290 if (debugger_) { in PreExecuteGraphDebugger() 291 debugger_->PreExecute(graph); in PreExecuteGraphDebugger() 393 if (debugger_ && debugger_->DebuggerBackendEnabled()) { in Dump() 395 (void)E2eDump::DumpParametersAndConstData(kernel_graph.get(), rank_id, debugger_.get()); in Dump() 402 if (debugger_ && debugger_->DebuggerBackendEnabled()) { in DumpSingleNode() 404 (void)E2eDump::DumpSingleNodeData(node, graph_id, rank_id, debugger_.get()); in DumpSingleNode() 443 if (debugger_) { in PostExecuteGraphDebugger() 445 debugger_->LoadParametersAndConst(graph); in PostExecuteGraphDebugger() 449 if (debugger_ && debugger_->CheckDebuggerDumpEnabled()) { in PostExecuteGraphDebugger() [all …]
|
D | debugger.h | 61 if (debugger_ == nullptr) { in GetInstance() 62 debugger_ = std::shared_ptr<Debugger>(new (std::nothrow) Debugger()); in GetInstance() 64 return debugger_; in GetInstance() 276 static std::shared_ptr<Debugger> debugger_; variable
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | gpu_session.cc | 499 if (debugger_ && debugger_->DebuggerBackendEnabled()) { in CompileGraphImpl() 500 debugger_->LoadGraphs(graph); in CompileGraphImpl() 510 if (debugger_) { in PreExecuteGraph() 511 debugger_->PreExecute(kernel_graph); in PreExecuteGraph() 534 if (debugger_ && debugger_->DebuggerBackendEnabled()) { in PostExecuteGraph() 535 debugger_->LoadParametersAndConst(kernel_graph); in PostExecuteGraph() 539 if (debugger_ && debugger_->CheckDebuggerDumpEnabled()) { in PostExecuteGraph() 543 if (debugger_) { in PostExecuteGraph() 544 debugger_->PostExecute(); in PostExecuteGraph() 713 if (debugger_->DebuggerBackendEnabled()) { in Dump() [all …]
|
D | session_basic.h | 97 debugger_ = nullptr; in SessionBasic() 163 debugger_ = Debugger::GetInstance(); in SetDebugger() 166 MS_EXCEPTION_IF_NULL(debugger_); in SetDebugger() 167 debugger_->Init(device_id_, ms_context->get_param<std::string>(MS_CTX_DEVICE_TARGET)); in SetDebugger() 331 std::shared_ptr<Debugger> debugger_; variable
|
D | ascend_session.cc | 577 if (debugger_ && debugger_->DebuggerBackendEnabled()) { in CompileGraphImpl() 691 if (debugger_ && debugger_->partial_memory()) { in BuildGraphImpl() 692 debugger_->PreExecute(graph); in BuildGraphImpl() 752 if (debugger_) { in PreExecuteGraph() 753 debugger_->PreExecute(kernel_graph); in PreExecuteGraph() 774 if (debugger_ && debugger_->debugger_enabled()) { in PostExecuteGraph() 778 if (debugger_) { in PostExecuteGraph() 779 debugger_->PostExecute(); in PostExecuteGraph() 1879 MS_EXCEPTION_IF_NULL(debugger_); in LoadGraphsToDbg() 1880 debugger_->LoadGraphs(graph); in LoadGraphsToDbg()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_kernel_runtime.cc | 265 if (debugger_ && debugger_->debugger_enabled()) { in ReleaseDeviceRes() 266 debugger_->SetTrainingDone(true); in ReleaseDeviceRes() 267 bool ret = debugger_->SendMetadata(false); in ReleaseDeviceRes() 741 if (!mock && debugger_) { in LaunchKernelDynamic() 742 debugger_->UpdateStepNum(graph); in LaunchKernelDynamic() 780 MS_EXCEPTION_IF_NULL(debugger_); in LaunchKernelDynamic() 782 debugger_->ClearCurrentData(); in LaunchKernelDynamic() 799 MS_EXCEPTION_IF_NULL(debugger_); in LaunchKernelDynamic() 801 …LoadKernelData(debugger_.get(), kernel, kernel_inputs, kernel_workspaces, kernel_outputs, exec_ord… in LaunchKernelDynamic() 810 MS_EXCEPTION_IF_NULL(debugger_); in LaunchKernelDynamic() [all …]
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_kernel_runtime.cc | 257 if (debugger_ && debugger_->debugger_enabled()) { in ReleaseDeviceRes() 258 debugger_->SetTrainingDone(true); in ReleaseDeviceRes() 259 bool ret = debugger_->SendMetadata(false); in ReleaseDeviceRes() 376 MS_EXCEPTION_IF_NULL(debugger_); in LoadData() 377 for (const auto &graph_ptr : debugger_->GetGraphPtrList()) { in LoadData() 378 debugger_->SetGraphPtr(graph_ptr); in LoadData() 380 debugger_->LoadGraphOutputs(); in LoadData() 382 debugger_->LoadParametersAndConst(); in LoadData()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | kernel_runtime.h | 102 debugger_ = Debugger::GetInstance(); in SetDebugger() 186 std::shared_ptr<Debugger> debugger_; variable
|
/third_party/mindspore/mindspore/ccsrc/vm/ |
D | backend.cc | 939 auto debugger_ = Debugger::GetInstance(); in SetDebuggerInit() local 942 debugger_->Init(device_id_, ms_context->get_param<std::string>(MS_CTX_DEVICE_TARGET)); in SetDebuggerInit()
|