Browse Source

Profiling AR version 9

tags/v1.2.0
taoxiangdong 3 years ago
parent
commit
9567678168
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ge/common/profiling/ge_profiling.cc
  2. +1
    -1
      ge/common/profiling/profiling_manager.cc

+ 1
- 1
ge/common/profiling/ge_profiling.cc View File

@@ -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;


+ 1
- 1
ge/common/profiling/profiling_manager.cc View File

@@ -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 {


Loading…
Cancel
Save