Browse Source

!2572 add ENABLE_GE

Merge pull request !2572 from jinyaohui/backend_master
tags/v0.6.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
fa7bc1bd58
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      mindspore/ccsrc/pipeline/pipeline.cc

+ 2
- 0
mindspore/ccsrc/pipeline/pipeline.cc View File

@@ -245,7 +245,9 @@ py::dict ExecutorPy::GetAllreduceFusion(const std::string &phase) {
}

void ExecutorPy::DelNetRes(const std::string &id) {
#ifdef ENABLE_GE
FinalizeBackend();
#endif
if (executor_ != nullptr) {
bool flag = false;
auto tmp_info = info_;


Loading…
Cancel
Save