nvidia-container-toolkit/internal/config/image
Evan Lezar 1bc2a9fee3
Return annotation devices from VisibleDevices
This change includes annotation devices in CUDA.VisibleDevices
with the highest priority. This allows for the CDI device
request extraction to be consistent across all request mechanisms.

Note that this does change behaviour in the following ways:
1. Annotations are considered when resolving the runtime mode.
2. Incorrectly formed device names in annotations are no longer treated as an error.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-06-13 14:56:08 +02:00
..
builder.go Add logic to extract annotation device requests to image type 2025-06-13 14:05:51 +02:00
capabilities_test.go Refactor handling of DriverCapabilities 2023-08-14 10:40:42 +02:00
capabilities.go Fix misspellings 2023-10-24 20:00:24 +02:00
cuda_image_test.go Return annotation devices from VisibleDevices 2025-06-13 14:56:08 +02:00
cuda_image.go Return annotation devices from VisibleDevices 2025-06-13 14:56:08 +02:00
devices.go Make NewVisibleDevices public 2022-11-14 12:19:59 +01:00
envvars.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
privileged_test.go Refactor extracting requested devices from the container image 2025-06-05 12:38:45 +02:00
privileged.go Refactor extracting requested devices from the container image 2025-06-05 12:38:45 +02:00