!22426 fix dump graph with full name with scope
Merge pull request !22426 from jjfeing/master
This commit is contained in:
commit
c9a574dbf7
|
@ -886,7 +886,7 @@ bool AscendKernelRuntime::RunTask(const session::KernelGraph *graph) {
|
||||||
DumpTaskExceptionInfo(graph);
|
DumpTaskExceptionInfo(graph);
|
||||||
std::string file_name = "task_error_debug" + std::to_string(graph->graph_id()) + ".ir";
|
std::string file_name = "task_error_debug" + std::to_string(graph->graph_id()) + ".ir";
|
||||||
auto graph_tmp = std::make_shared<session::KernelGraph>(*graph);
|
auto graph_tmp = std::make_shared<session::KernelGraph>(*graph);
|
||||||
DumpIR(file_name, graph_tmp);
|
DumpIR(file_name, graph_tmp, true);
|
||||||
#ifdef ENABLE_TDTQUE
|
#ifdef ENABLE_TDTQUE
|
||||||
// Run task error, we should call TdtHostDestroy to release tdt to avoid DeviceQueueOp hostPush hung
|
// 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
|
// case1: cpu usage 100% cause thread/process exit, but some tdt thread remain in backend
|
||||||
|
|
Loading…
Reference in New Issue