nvidia-container-toolkit/pkg/nvcdi
Evan Lezar 75376d3df2
Fix bug when using just-in-time CDI spec generation
This change fixes a bug when using just-in-time CDI spec generation for the
NVIDIA Container Runtime for specific devices (i.e. not 'all').
Instead of unconditionally using the default nvsandboxutils library -- leading
to errors due to undefined symbols -- we check whether the library can be
properly initialised before continuing.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-10-30 12:20:36 +01: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
common-nvml.go Revert "Merge pull request #694 from elezar/add-opt-in-to-sockets" 2024-09-20 20:26:45 +02:00
device-wsl.go
driver-nvml.go Merge pull request #715 from elezar/add-libcuda-so-symlink 2024-10-01 18:16:36 +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
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 [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
management.go Add imex channels to management CDI spec 2024-10-10 14:38:33 +02:00
mig-device-nvml.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
mofed.go
namer_nvml_mock.go
namer_test.go
namer.go
options.go Revert "Merge pull request #694 from elezar/add-opt-in-to-sockets" 2024-09-20 20:26:45 +02:00
workarounds-device-folder-permissions.go Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00