Browse Source

Profiling AR version 10

tags/v1.2.0
taoxiangdong 3 years ago
parent
commit
216a6f3b6a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/common/profiling/ge_profiling.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 = ge::OpsKernelBuilderManager::Instance().RegProfReporterCallBack(func);
rt_ret = ge::OpsKernelBuilderManager::Instance().RegProfReporterCallBack(reinterpret_cast<void *>(func));
if (rt_ret != ge::SUCCESS) {
GELOGE(rt_ret, "Pass MsprofReporterCallback to hccl failed.");
return rt_ret;


Loading…
Cancel
Save