From 840d6c64f2273c07fc2c7ce8f6508e1b63b2e717 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 950e1642..add95372 100755 --- a/ge/executor/ge_executor.cc +++ b/ge/executor/ge_executor.cc @@ -244,6 +244,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);