nvidia-container-toolkit/internal/config
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
..
image Return annotation devices from VisibleDevices 2025-06-13 14:56:08 +02:00
cli_test.go Only allow host-relative LDConfig paths 2024-11-22 14:25:17 +01:00
cli.go Only allow host-relative LDConfig paths 2024-11-22 14:25:17 +01:00
config_test.go Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00
config.go Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00
features.go Merge pull request #943 from elezar/add-disable-imex-channels-feature 2025-02-28 17:53:28 +02:00
hook.go [no-relnote] Remove unused code 2024-11-22 13:11:04 +01:00
runtime.go Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00
toml_test.go Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00
toml.go Only allow host-relative LDConfig paths 2024-11-22 14:25:17 +01:00
toolkit-cli.go Use toml representation to get defaults 2023-05-08 11:26:53 +02:00