From 94014900dfe81801db2e4e65e64d9da3fc89e780 Mon Sep 17 00:00:00 2001 From: l00444296 Date: Sat, 5 Dec 2020 10:08:23 +0800 Subject: [PATCH] Feature: Support single op profiling --- ge/executor/ge_executor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/ge/executor/ge_executor.cc b/ge/executor/ge_executor.cc index fedd13b7..3e916916 100755 --- a/ge/executor/ge_executor.cc +++ b/ge/executor/ge_executor.cc @@ -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);