!12125 Dump complete trace info for hwop_d_end_xxx.ir

From: @irmo
Reviewed-by: @zhoufeng54,@chujinjin
Signed-off-by: @chujinjin
This commit is contained in:
mindspore-ci-bot 2021-02-04 19:15:11 +08:00 committed by Gitee
commit 39d0f2e95a
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ void AscendBackendOptimization(const std::shared_ptr<session::KernelGraph> &kern
#endif
if (save_graphs) {
std::string file_name = "hwopt_d_end_graph_" + std::to_string(kernel_graph->graph_id()) + ".ir";
DumpIR(file_name, kernel_graph, true, kTopStack);
DumpIR(file_name, kernel_graph, true, kWholeStack);
DumpIRProto(kernel_graph, "after_hwopt_" + std::to_string(kernel_graph->graph_id()));
kernel_graph->DumpFuncGraph("hwopt_d_end");
}