nvidia-container-toolkit/internal/config/image
Evan Lezar e188090a92
Fix NVIDIA_IMEX_CHANNELS handling on legacy images
For legacy images (images with a CUDA_VERSION set but no CUDA_REQUIRES set), the
default behaviour for device envvars is to treat non-existence as all.

This change ensures that the NVIDIA_IMEX_CHANNELS envvar is not treated in the same
way, instead returning no devices if the envvar is not set.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-11-14 13:26:30 -07:00
..
builder.go
capabilities_test.go
capabilities.go
cuda_image_test.go
cuda_image.go
devices.go
envvars.go
privileged.go