!19828 Fix the unchanged iteration id on cpu
Merge pull request !19828 from maning202007/r1.3
This commit is contained in:
commit
aa7c152435
|
@ -442,6 +442,11 @@ void Debugger::DumpInGraphCompiler(const KernelGraphPtr &kernel_graph) {
|
|||
}
|
||||
|
||||
void Debugger::PostExecuteGraphDebugger() {
|
||||
// On CPU, update dump iteration, Parameters and consts are not dumped here
|
||||
if (device_target_ == kCPUDevice) {
|
||||
DumpJsonParser::GetInstance().UpdateDumpIter();
|
||||
return;
|
||||
}
|
||||
// Only GPU is supported for MindRTBackend
|
||||
if (device_target_ != kGPUDevice) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue