Browse Source

!939 transmit jobid to profling

Merge pull request !939 from caifubi/transmit-jobid-to-profiling
tags/v0.3.0-alpha
mindspore-ci-bot Gitee 6 years ago
parent
commit
bdd5bee0ed
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mindspore/ccsrc/device/ascend/profiling/profiling_manager.cc

+ 4
- 0
mindspore/ccsrc/device/ascend/profiling/profiling_manager.cc View File

@@ -131,6 +131,10 @@ bool ProfilingManager::StartupProfiling(uint32_t device_id) {
// current one docker only use one device`
Json p_device;

// JOBID
auto job_id = GetJobId();
p_device["jobID"] = std::to_string(job_id);

// device_id
p_device["deviceID"] = std::to_string(device_id);



Loading…
Cancel
Save