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 [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
capabilities_test.go
capabilities.go
cuda_image_test.go Fix NVIDIA_IMEX_CHANNELS handling on legacy images 2024-11-14 13:26:30 -07:00
cuda_image.go Fix NVIDIA_IMEX_CHANNELS handling on legacy images 2024-11-14 13:26:30 -07:00
devices.go
envvars.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
privileged.go