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
capabilities.go
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
envvars.go
privileged_test.go
privileged.go