nvidia-container-toolkit/internal
Evan Lezar 54ea4a24a7
Load NVIDIA Kernel Modules for JIT-CDI mode
This change attempts to load the nvidia, nvidia-uvm, and nvidia-modeset
kernel modules before generating the automatic (jit) CDI specification.

The kernel modules can be controlled by the

nvidia-container-runtime.modes.jit-cdi.load-kernel-modules

config option. If this is set to the empty list, then no kernel modules
are loaded.

Errors in loading the kernel modules are logged, but ignored.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-03-09 13:38:07 +02:00
..
config Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-09 13:38:07 +02:00
cuda Fix build and test on darwin 2024-02-05 23:58:28 +01:00
discover Add enable-cuda-compat hook if required 2025-02-27 15:58:15 +02:00
dxcore Use D3DKMTEnumAdapters3 for adapter enumeration 2024-03-12 11:42:08 +01:00
edits run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
info Bump github.com/NVIDIA/go-nvlib to v0.5.0 2024-05-28 13:28:28 +02:00
ldcache Read ldcache at construction instead of on each locate call 2024-10-24 23:12:58 +02:00
logger Add Tracef to logger Interface 2024-07-01 12:12:38 +02:00
lookup Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-09 13:38:07 +02:00
modifier Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-09 13:38:07 +02:00
nvcaps
nvsandboxutils Fix incompatible pointer conversion 2024-09-25 16:40:43 -07:00
oci Rename test folder to tests 2025-01-23 11:46:14 +01:00
platform-support Rename test folder to tests 2025-01-23 11:46:14 +01:00
requirements
runtime Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-09 13:38:07 +02:00
system Fix create-device-node test when devices exist 2024-12-06 14:05:51 +01:00
test