Browse Source

Feature: Support single op profiling

tags/v1.2.0
l00444296 4 years ago
parent
commit
94014900df
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ge/executor/ge_executor.cc

+ 1
- 0
ge/executor/ge_executor.cc View File

@@ -283,6 +283,7 @@ Status GeExecutor::Initialize() {
// Start profiling
Options profiling_options;
profiling_options.device_id = 0;
// job id need to be set, the value is meaningless;
profiling_options.job_id = "1";
ProfilingManager::Instance().Init(profiling_options);



Loading…
Cancel
Save