| @@ -24,6 +24,7 @@ namespace ge { | |||||
| class FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY GeOptInfo { | class FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY GeOptInfo { | ||||
| public: | public: | ||||
| GeOptInfo() = default; | GeOptInfo() = default; | ||||
| ~GeOptInfo() = default; | |||||
| static Status SetOptInfo(); | static Status SetOptInfo(); | ||||
| }; | }; | ||||
| } // namespace ge | } // namespace ge | ||||
| @@ -47,7 +47,7 @@ class MemcpyAsyncTaskInfo : public TaskInfo { | |||||
| uint64_t count_; | uint64_t count_; | ||||
| uint32_t kind_; | uint32_t kind_; | ||||
| vector<void *> io_addrs_; | vector<void *> io_addrs_; | ||||
| int64_t fixed_addr_offset_; | |||||
| int64_t fixed_addr_offset_ = 0; | |||||
| DavinciModel *davinci_model_ = nullptr; | DavinciModel *davinci_model_ = nullptr; | ||||
| uint32_t args_offset_ = 0; | uint32_t args_offset_ = 0; | ||||
| }; | }; | ||||
| @@ -1756,8 +1756,8 @@ Status GraphPrepare::CtrlFlowPreProcess() { | |||||
| PassManager graph_pass; | PassManager graph_pass; | ||||
| // After InferShape Mark v1 control flow for unknown shape. | // After InferShape Mark v1 control flow for unknown shape. | ||||
| auto mark_force_unknown_pass = new (std::nothrow) MarkForceUnknownForCondPass; | |||||
| GE_CHK_STATUS_RET(graph_pass.AddPass("PreRun::MarkForceUnknownForCondPass", mark_force_unknown_pass)); | |||||
| GE_CHK_STATUS_RET(graph_pass.AddPass("PreRun::MarkForceUnknownForCondPass", | |||||
| new (std::nothrow) MarkForceUnknownForCondPass)); | |||||
| GE_CHK_STATUS_RET(graph_pass.Run(compute_graph_)); | GE_CHK_STATUS_RET(graph_pass.Run(compute_graph_)); | ||||
| return SUCCESS; | return SUCCESS; | ||||
| @@ -188,6 +188,7 @@ HybridModelPipelineExecutor::HybridModelPipelineExecutor(HybridModel *model, uin | |||||
| config_.num_executors = kNumExecutors; | config_.num_executors = kNumExecutors; | ||||
| config_.num_stages = model_->GetRootGraphItem()->NumGroups(); | config_.num_stages = model_->GetRootGraphItem()->NumGroups(); | ||||
| config_.device_id = device_id_; | config_.device_id = device_id_; | ||||
| config_.iteration_end = 0; | |||||
| } | } | ||||
| Status StageExecutor::InitExecutionContext() { | Status StageExecutor::InitExecutionContext() { | ||||
| @@ -62,7 +62,7 @@ class RdmaNodeTask : public NodeTask { | |||||
| int32_t local_index_ = 0; | int32_t local_index_ = 0; | ||||
| std::mutex hccl_mutex_; | std::mutex hccl_mutex_; | ||||
| std::condition_variable cond_; | std::condition_variable cond_; | ||||
| bool skip_flag_; | |||||
| bool skip_flag_ = false; | |||||
| }; | }; | ||||