|
|
|
@@ -1008,7 +1008,7 @@ void AscendSession::DumpAllGraphs(const std::vector<KernelGraphPtr> &all_graphs) |
|
|
|
std::string ir_file_path = target_dir + "/" + "ms_output_" + final_graph + ".ir"; |
|
|
|
DumpIRProtoWithSrcInfo(graph, final_graph, target_dir, kDebugWholeStack); |
|
|
|
DumpIR("trace_code_graph", graph, true, kWholeStack, ir_file_path); |
|
|
|
DumpGraphExeOrder("ms_execution_order_" + std::to_string(graph->graph_id()) + ".csv", root_dir, |
|
|
|
DumpGraphExeOrder("ms_execution_order_graph_" + std::to_string(graph->graph_id()) + ".csv", root_dir, |
|
|
|
graph->execution_order()); |
|
|
|
} else if (json_parser.async_dump_enabled()) { |
|
|
|
std::string root_dir = json_parser.path() + "/device_" + std::to_string(device_id); |
|
|
|
@@ -1016,7 +1016,7 @@ void AscendSession::DumpAllGraphs(const std::vector<KernelGraphPtr> &all_graphs) |
|
|
|
std::string ir_file_path = target_dir + "/" + "ms_output_" + final_graph + ".ir"; |
|
|
|
DumpIRProtoWithSrcInfo(graph, final_graph, target_dir, kDebugWholeStack); |
|
|
|
DumpIR("trace_code_graph", graph, true, kWholeStack, ir_file_path); |
|
|
|
DumpGraphExeOrder("ms_execution_order_" + std::to_string(graph->graph_id()) + ".csv", root_dir, |
|
|
|
DumpGraphExeOrder("ms_execution_order_graph_" + std::to_string(graph->graph_id()) + ".csv", root_dir, |
|
|
|
graph->execution_order()); |
|
|
|
} |
|
|
|
} |
|
|
|
|