Skip to content

Commit

Permalink
#64 fix 'GPU' of ProcessInfo in GetProcessInfo (#65)
Browse files Browse the repository at this point in the history
Signed-off-by: Jerry <[email protected]>
  • Loading branch information
berkaroad authored Apr 9, 2024
1 parent 5e46e1b commit eeff1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dcgm/process_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func getProcessInfo(groupId GroupHandle, pid uint) (processInfo []ProcessInfo, e
}

pInfo := ProcessInfo{
GPU: uint(pidInfo.summary.gpuId),
GPU: uint(pidInfo.gpus[i].gpuId),
PID: uint(pidInfo.pid),
Name: name,
ProcessUtilization: processUtil,
Expand Down

0 comments on commit eeff1dd

Please sign in to comment.