nvidia-container-toolkit/pkg/nvcdi
Evan Lezar ac9eee956b
Allow enable-cuda-compat hook to be disabled in CDI spec generation
This change adds support to the nvcdi package to opt out of specific hooks.

Currently only the `enable-cuda-compat` hook is supported. This allows clients to
generate a CDI spec that is compatible with older nvidia-cdi-hook CLIs.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-03-07 16:55:45 +02:00
..
spec Set default CDI spec permissions to 644 2024-06-05 11:27:03 +02:00
transform Add dev-root option to toolkit container 2024-06-03 20:40:30 +02:00
api.go Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:55:45 +02:00
common-nvml.go Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:55:45 +02:00
device-wsl.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
driver-nvml.go Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:55:45 +02:00
driver-wsl_test.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
driver-wsl.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
full-gpu-nvml.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
gds.go Allow multiple device name strategies to be specified 2024-02-13 16:38:05 +01:00
hooks.go Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:55:45 +02:00
lib-csv.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
lib-nvml.go Fix bug when using just-in-time CDI spec generation 2024-10-30 12:20:36 +01:00
lib-wsl.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
lib.go Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:55:45 +02:00
management.go Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:55:45 +02:00
mig-device-nvml.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
mofed.go Allow multiple device name strategies to be specified 2024-02-13 16:38:05 +01:00
namer_nvml_mock.go Replace go-nvlib/pkg/nvml with go-nvml/pkg/nvml 2024-04-18 14:53:37 +02:00
namer_test.go Replace go-nvlib/pkg/nvml with go-nvml/pkg/nvml 2024-04-18 14:53:37 +02:00
namer.go Replace go-nvlib/pkg/nvml with go-nvml/pkg/nvml 2024-04-18 14:53:37 +02:00
options.go Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:55:45 +02:00
workarounds-device-folder-permissions.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00