Browse Source

Feature: change profiling interface

tags/v1.2.0
l00444296 3 years ago
parent
commit
f0bcf88234
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/single_op/single_op.cc

+ 1
- 1
ge/single_op/single_op.cc View File

@@ -39,7 +39,7 @@ size_t GetAlignedSize(size_t size) {
} }


Status ProfilingTaskInfo(OpTask *op_task) { Status ProfilingTaskInfo(OpTask *op_task) {
if (!ProfilingManager::Instance().ProfilingModelExecuteOn()) {
if (!ProfilingManager::Instance().ProfilingModelLoadOn()) {
return SUCCESS; return SUCCESS;
} }




Loading…
Cancel
Save