!22426 fix dump graph with full name with scope

Merge pull request !22426 from jjfeing/master
This commit is contained in:
i-robot 2021-08-27 01:15:46 +00:00 committed by Gitee
commit c9a574dbf7
1 changed files with 1 additions and 1 deletions

View File

@ -886,7 +886,7 @@ bool AscendKernelRuntime::RunTask(const session::KernelGraph *graph) {
DumpTaskExceptionInfo(graph);
std::string file_name = "task_error_debug" + std::to_string(graph->graph_id()) + ".ir";
auto graph_tmp = std::make_shared<session::KernelGraph>(*graph);
DumpIR(file_name, graph_tmp);
DumpIR(file_name, graph_tmp, true);
#ifdef ENABLE_TDTQUE
// Run task error, we should call TdtHostDestroy to release tdt to avoid DeviceQueueOp hostPush hung
// case1: cpu usage 100% cause thread/process exit, but some tdt thread remain in backend