Browse Source

clean exector before clear runtime resource

tags/v1.1.0
kswang 5 years ago
parent
commit
3440b66a9e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ccsrc/pipeline/jit/pipeline.cc

+ 1
- 0
mindspore/ccsrc/pipeline/jit/pipeline.cc View File

@@ -983,6 +983,7 @@ void FinalizeHccl() {
#ifdef ENABLE_GE
(void)FinalizeBackend();
#else
session::ExecutorManager::Instance().Clear();
device::KernelRuntimeManager::Instance().ClearRuntimeResource();
#endif
}


Loading…
Cancel
Save