From 216a6f3b6a887ce3e800d4344ddacb4493ff3c85 Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Thu, 10 Dec 2020 22:47:28 +0800 Subject: [PATCH] Profiling AR version 10 --- ge/common/profiling/ge_profiling.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/common/profiling/ge_profiling.cc b/ge/common/profiling/ge_profiling.cc index b06a8448..67e6b619 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 = ge::OpsKernelBuilderManager::Instance().RegProfReporterCallBack(func); + rt_ret = ge::OpsKernelBuilderManager::Instance().RegProfReporterCallBack(reinterpret_cast(func)); if (rt_ret != ge::SUCCESS) { GELOGE(rt_ret, "Pass MsprofReporterCallback to hccl failed."); return rt_ret;