File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type systemContext struct {
38
38
39
39
// updatedVisibleDevicesEnvVars maps each process ID to the latest visible
40
40
// 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
42
42
// /proc/pid/environ.
43
43
updatedVisibleDevicesEnvVars map [int ]string
44
44
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import (
15
15
ddnvml "github.com/DataDog/datadog-agent/pkg/gpu/safenvml"
16
16
)
17
17
18
+ // CudaVisibleDevicesEnvVar is the name of the environment variable that controls the visible GPUs for CUDA applications
18
19
const CudaVisibleDevicesEnvVar = "CUDA_VISIBLE_DEVICES"
19
20
20
21
// ParseVisibleDevices modifies the list of GPU devices according to the
You can’t perform that action at this time.
0 commit comments