Browse Source

!1319 modify format

From: @wangxiaotian22
Reviewed-by: @xchu42,@xchu42,@wqtshg
Signed-off-by:
tags/v1.3.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
60a848da4f
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      ge/opskernel_manager/ops_kernel_builder_manager.cc
  2. +1
    -1
      ge/opskernel_manager/ops_kernel_manager.cc

+ 2
- 2
ge/opskernel_manager/ops_kernel_builder_manager.cc View File

@@ -55,7 +55,7 @@ Status OpsKernelBuilderManager::Initialize(const map<std::string, std::string> &
}

auto &kernel_builders = OpsKernelBuilderRegistry::GetInstance().GetAll();
GELOGI("Number of OpBuild = %zu", kernel_builders.size());
GELOGI("[Show][OpsKernelBuilderNum]Number of OpBuild = %zu", kernel_builders.size());

for (const auto &it : kernel_builders) {
const std::string &kernel_lib_name = it.first;
@@ -164,4 +164,4 @@ Status OpsKernelBuilderManager::GenerateTask(const Node &node,
GELOGD("Done invoking GenerateTask successfully");
return SUCCESS;
}
} // namespace ge
} // namespace ge

+ 1
- 1
ge/opskernel_manager/ops_kernel_manager.cc View File

@@ -87,7 +87,7 @@ Status OpsKernelManager::Initialize(const map<string, string> &options_const) {
Status rst0 = plugin_manager_.InvokeAll<map<string, string> &, Status>(kInitialize, initialize_);
if (rst0 == FAILED) {
GELOGE(GE_OPS_GET_NO_VALID_SO, "[Invoke][OpsKernelInfo]PluginManager InvokeAll failed.");
REPORT_INNER_ERROR("E19999", "PluginManager InvokeAll failed.")
REPORT_INNER_ERROR("E19999", "PluginManager InvokeAll failed.");
return GE_OPS_GET_NO_VALID_SO;
}
Status rst1 =


Loading…
Cancel
Save