Browse Source

!1282 static check

From: @zhou_chao1993
Reviewed-by: @youui,@xchu42
Signed-off-by: @youui
tags/v1.3.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
9dd4873072
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/hybrid/executor/hybrid_model_async_executor.cc

+ 1
- 1
ge/hybrid/executor/hybrid_model_async_executor.cc View File

@@ -105,7 +105,7 @@ Status HybridModelAsyncExecutor::Init() {
executor_ = std::unique_ptr<HybridModelExecutor>(new(std::nothrow) HybridModelExecutor(model_, device_id_, stream_)); executor_ = std::unique_ptr<HybridModelExecutor>(new(std::nothrow) HybridModelExecutor(model_, device_id_, stream_));
GE_CHECK_NOTNULL(executor_); GE_CHECK_NOTNULL(executor_);
GE_CHK_STATUS_RET(executor_->Init(), "Failed to init hybrid engine"); GE_CHK_STATUS_RET(executor_->Init(), "Failed to init hybrid engine");
GE_CHK_STATUS_RET(DumpOpDebug(),"Dump op debug failed in hybrid engine");
GE_CHK_STATUS_RET(DumpOpDebug(), "Dump op debug failed in hybrid engine");


GELOGI("HybridModel stage nums:%zu", model_->GetRootGraphItem()->NumGroups()); GELOGI("HybridModel stage nums:%zu", model_->GetRootGraphItem()->NumGroups());
if (model_->GetRootGraphItem()->NumGroups() >= kMinimumPiplineStages) { if (model_->GetRootGraphItem()->NumGroups() >= kMinimumPiplineStages) {


Loading…
Cancel
Save