Skip to content

Commit 9f59632

Browse files
committed
Review fixes
1 parent 7059fea commit 9f59632

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/gpu/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type systemContext struct {
3838

3939
// updatedVisibleDevicesEnvVars maps each process ID to the latest visible
4040
// devices environment variable that was set by the process. This is used to
41-
// keep track of updates during process runtime, whic aren't visible in
41+
// keep track of updates during process runtime, which aren't visible in
4242
// /proc/pid/environ.
4343
updatedVisibleDevicesEnvVars map[int]string
4444

pkg/gpu/cuda/env.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
ddnvml "github.com/DataDog/datadog-agent/pkg/gpu/safenvml"
1616
)
1717

18+
// CudaVisibleDevicesEnvVar is the name of the environment variable that controls the visible GPUs for CUDA applications
1819
const CudaVisibleDevicesEnvVar = "CUDA_VISIBLE_DEVICES"
1920

2021
// ParseVisibleDevices modifies the list of GPU devices according to the

0 commit comments

Comments
 (0)