From 95676781681cfd1611646afb8cd183a60d5f11a2 Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Thu, 10 Dec 2020 22:37:29 +0800 Subject: [PATCH] Profiling AR version 9 --- ge/common/profiling/ge_profiling.cc | 2 +- ge/common/profiling/profiling_manager.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/common/profiling/ge_profiling.cc b/ge/common/profiling/ge_profiling.cc index b6708f7a..b06a8448 100644 --- a/ge/common/profiling/ge_profiling.cc +++ b/ge/common/profiling/ge_profiling.cc @@ -151,7 +151,7 @@ ge::Status RegProfReporterCallback(MsprofReporterCallback func) { return rt_ret; } // Pass MsprofReporterCallback to hccl in opskernel so initialize - rt_ret = OpsKernelBuilderManager::Instance().RegProfReporterCallBack(func); + rt_ret = ge::OpsKernelBuilderManager::Instance().RegProfReporterCallBack(func); if (rt_ret != ge::SUCCESS) { GELOGE(rt_ret, "Pass MsprofReporterCallback to hccl failed."); return rt_ret; diff --git a/ge/common/profiling/profiling_manager.cc b/ge/common/profiling/profiling_manager.cc index 5419c8e8..5cb08dd0 100644 --- a/ge/common/profiling/profiling_manager.cc +++ b/ge/common/profiling/profiling_manager.cc @@ -142,7 +142,7 @@ ge::Status ProfilingManager::InitFromOptions(const Options &options, MsprofGeOpt ge::Status ProfilingManager::ParseOptions(const std::string &options) { if (options.empty()) { - GELOGE(ge::PARAM_INVALID, "Profiling options is empty.") + GELOGE(ge::PARAM_INVALID, "Profiling options is empty."); return ge::PARAM_INVALID; } try {