Home
last modified time | relevance | path

Searched refs:dump_json_parser (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
De2e_dump.cc63 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpOutput() local
64 if (!dump_json_parser.OutputNeedDump()) { in DumpOutput()
68 bool trans_flag = dump_json_parser.trans_flag(); in DumpOutput()
73 if (!dump_json_parser.NeedDump(kernel_name)) { in DumpOutput()
82 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpOutputSingleNode() local
83 if (!dump_json_parser.OutputNeedDump()) { in DumpOutputSingleNode()
86 bool trans_flag = dump_json_parser.trans_flag(); in DumpOutputSingleNode()
89 if (!dump_json_parser.NeedDump(kernel_name)) { in DumpOutputSingleNode()
130 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpInput() local
131 if (!dump_json_parser.InputNeedDump()) { in DumpInput()
[all …]
Dcpu_e2e_dump.cc25 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpCNodeData() local
27 if (!dump_json_parser.NeedDump(kernel_name)) { in DumpCNodeData()
32 << dump_json_parser.cur_dump_iter(); in DumpCNodeData()
34 if (dump_json_parser.InputNeedDump()) { in DumpCNodeData()
37 if (dump_json_parser.OutputNeedDump()) { in DumpCNodeData()
113 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpSingleAnfNode() local
127 if (!dump_json_parser.NeedDump(node_name)) { in DumpSingleAnfNode()
Ddump_utils.cc39 auto &dump_json_parser = DumpJsonParser::GetInstance(); in GenerateDumpPath() local
40 std::string net_name = dump_json_parser.net_name(); in GenerateDumpPath()
41 std::string iterator = std::to_string(dump_json_parser.cur_dump_iter()); in GenerateDumpPath()
42 std::string dump_path = dump_json_parser.path(); in GenerateDumpPath()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Ddebugger_utils.cc117 auto &dump_json_parser = DumpJsonParser::GetInstance(); in CheckReadData() local
121 auto dump_mode = dump_json_parser.dump_mode(); in CheckReadData()
123 if ((dump_mode == 0) || ((dump_mode == 1) && dump_json_parser.NeedDump(kernel_name))) { in CheckReadData()
137 auto &dump_json_parser = DumpJsonParser::GetInstance(); in ReadDataAndDump() local
139 if (debugger->debugger_enabled() || dump_json_parser.InputNeedDump()) { in ReadDataAndDump()
142 if (debugger->debugger_enabled() || dump_json_parser.OutputNeedDump()) { in ReadDataAndDump()
Ddebugger.cc368 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpDataEnabledIteration() local
369 if (!dump_json_parser.e2e_dump_enabled()) { in DumpDataEnabledIteration()
373 auto cur_iter = dump_json_parser.cur_dump_iter(); in DumpDataEnabledIteration()
374 if (dump_json_parser.IsDumpIter(cur_iter)) { in DumpDataEnabledIteration()
/third_party/mindspore/mindspore/ccsrc/debug/
DCMakeLists.txt48 "${CMAKE_CURRENT_SOURCE_DIR}/data_dump/dump_json_parser.cc"
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_kernel_runtime.cc419 auto &dump_json_parser = DumpJsonParser::GetInstance(); in Run() local
420 bool iter_dump_flag = dump_json_parser.GetIterDumpFlag(); in Run()
500 dump_json_parser.UpdateDumpIter(); in Run()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime.cc365 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpDataEnabled() local
366 return dump_json_parser.e2e_dump_enabled(); in DumpDataEnabled()
370 auto &dump_json_parser = DumpJsonParser::GetInstance(); in DumpDataEnabledIteration() local
371 if (!dump_json_parser.e2e_dump_enabled()) { in DumpDataEnabledIteration()
375 auto cur_iter = dump_json_parser.cur_dump_iter(); in DumpDataEnabledIteration()
376 if (dump_json_parser.IsDumpIter(cur_iter)) { in DumpDataEnabledIteration()
1070 auto &dump_json_parser = DumpJsonParser::GetInstance(); in AssignDynamicMemory() local
1071 if (dump_json_parser.e2e_dump_enabled() && dump_json_parser.dump_mode() == 0) { in AssignDynamicMemory()
Dkernel_adjust.cc710 auto &dump_json_parser = DumpJsonParser::GetInstance(); in StepLoadCtrlInputs() local
712 if (!sink_mode && dump_json_parser.async_dump_enabled()) { in StepLoadCtrlInputs()
/third_party/mindspore/tests/ut/cpp/
DCMakeLists.txt108 "../../../mindspore/ccsrc/debug/data_dump/dump_json_parser.cc"
202 …list(REMOVE_ITEM MINDSPORE_SRC_LIST "../../../mindspore/ccsrc/debug/data_dump/dump_json_parser.cc")
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_kernel_runtime.cc143 auto &dump_json_parser = DumpJsonParser::GetInstance(); in LoadKernelData() local
147 auto dump_mode = dump_json_parser.dump_mode(); in LoadKernelData()
149 if ((dump_mode == 0) || ((dump_mode == 1) && dump_json_parser.NeedDump(kernel_name))) { in LoadKernelData()
159 if (debugger->debugger_enabled() || dump_json_parser.InputNeedDump()) { in LoadKernelData()
185 if (debugger->debugger_enabled() || dump_json_parser.OutputNeedDump()) { in LoadKernelData()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_kernel_runtime.cc392 auto &dump_json_parser = DumpJsonParser::GetInstance(); in KernelMemNotReuse() local
393 if (dump_json_parser.e2e_dump_enabled() && dump_json_parser.dump_mode() == 1) { in KernelMemNotReuse()
395 if (dump_json_parser.NeedDump(op_name)) { in KernelMemNotReuse()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_session.cc294 auto &dump_json_parser = DumpJsonParser::GetInstance(); in UpdateCtrlInputTensor() local
296 if (sink_mode || !dump_json_parser.async_dump_enabled()) { in UpdateCtrlInputTensor()