nvidia-container-toolkit/internal/modifier
Carlos Eduardo Arango Gutierrez d03a06029a
BUGFIX: modifier: respect GPU volume-mount device requests
The gated modifiers used to add support for GDS, Mofed, and CUDA Forward Comatibility
only check the NVIDIA_VISIBLE_DEVICES envvar to determine whether GPUs are requested
and modifications should be made. This means that use cases where volume mounts are
used to request devices are not supported.

This change ensures that device extraction is consistent for all use cases.

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-06-17 11:55:00 +02:00
..
cdi run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
cdi_test.go Ensure consistent sorting of annotation devices 2025-06-17 11:55:00 +02:00
cdi.go Merge pull request #1143 from elezar/add-device-ids-to-getspec 2025-06-13 16:41:43 +02:00
csv_test.go [no-relnote] Remove duplicate test case 2025-02-05 19:01:43 +01:00
csv.go BUGFIX: modifier: respect GPU volume-mount device requests 2025-06-17 11:55:00 +02: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 BUGFIX: modifier: respect GPU volume-mount device requests 2025-06-17 11:55:00 +02:00
graphics_test.go BUGFIX: modifier: respect GPU volume-mount device requests 2025-06-17 11:55:00 +02:00
graphics.go BUGFIX: modifier: respect GPU volume-mount device requests 2025-06-17 11:55:00 +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