nvidia-container-toolkit/internal/modifier
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
..
cdi run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
cdi_test.go Return annotation devices from VisibleDevices 2025-06-13 14:56:08 +02:00
cdi.go Return annotation devices from VisibleDevices 2025-06-13 14:56:08 +02:00
csv_test.go [no-relnote] Remove duplicate test case 2025-02-05 19:01:43 +01:00
csv.go Allow cdi mode to work with --gpus flag 2025-02-05 19:01:43 +01:00
discover_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
discover.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
gated.go Refactor the way we create CDI Hooks 2025-05-21 10:19:47 +02:00
graphics_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
graphics.go Refactor the way we create CDI Hooks 2025-05-21 10:19:47 +02:00
hook_remover_test.go Move cmd/nvidia-container-runtime/modifier package to internal/modifier 2022-07-01 14:28:40 +02:00
hook_remover.go Allow cdi mode to work with --gpus flag 2025-02-05 19:01:43 +01:00
list.go [no-relnote] Refactor oci spec modifier list 2025-01-22 13:58:31 +01:00
stable_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
stable.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00