From f0bcf88234d57b82aebff7d4ffa332c52a5f26b9 Mon Sep 17 00:00:00 2001 From: l00444296 Date: Fri, 18 Dec 2020 19:45:45 +0800 Subject: [PATCH] Feature: change profiling interface --- ge/single_op/single_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/single_op/single_op.cc b/ge/single_op/single_op.cc index a2652b67..b6b7dcab 100755 --- a/ge/single_op/single_op.cc +++ b/ge/single_op/single_op.cc @@ -39,7 +39,7 @@ size_t GetAlignedSize(size_t size) { } Status ProfilingTaskInfo(OpTask *op_task) { - if (!ProfilingManager::Instance().ProfilingModelExecuteOn()) { + if (!ProfilingManager::Instance().ProfilingModelLoadOn()) { return SUCCESS; }