Browse Source

!43 Fix LoadComplete return

Merge pull request !43 from caifubi/data-dump-2
tags/v0.6.0-beta
mindspore-ci-bot Gitee 4 years ago
parent
commit
18cf690152
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/ge/ge_runtime/runtime_model.cc

+ 1
- 0
src/ge/ge_runtime/runtime_model.cc View File

@@ -254,6 +254,7 @@ bool RuntimeModel::LoadComplete() {
GELOGE(RT_FAILED, "Call rt api rtModelLoadComplete failed, ret: 0x%X.", rt_ret); GELOGE(RT_FAILED, "Call rt api rtModelLoadComplete failed, ret: 0x%X.", rt_ret);
return false; return false;
} }
return true;
} }


bool RuntimeModel::Load(uint32_t device_id, uint64_t session_id, std::shared_ptr<DavinciModel> &davinci_model) { bool RuntimeModel::Load(uint32_t device_id, uint64_t session_id, std::shared_ptr<DavinciModel> &davinci_model) {


Loading…
Cancel
Save