nvidia-container-toolkit/internal
Evan Lezar 8069346746
Add cuda-compat-mode config option
This change adds an nvidia-container-runtime.modes.legacy.cuda-compat-mode
config option. This can be set to one of four values:

* ldconfig (default): the --cuda-compat-mode=ldconfig flag is passed to the nvidia-container-cli
* mount: the --cuda-compat-mode=mount flag is passed to the nvidia-conainer-cli
* disabled: the --cuda-compat-mode=disabled flag is passed to the nvidia-container-cli
* hook: the --cuda-compat-mode=disabled flag is passed to the nvidia-container-cli AND the
  enable-cuda-compat hook is used to provide forward compatibility.

Note that the disable-cuda-compat-lib-hook feature flag will prevent the enable-cuda-compat
hook from being used. This change also means that the allow-cuda-compat-libs-from-container
feature flag no longer has any effect.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-05-13 21:52:01 +02:00
..
config Add cuda-compat-mode config option 2025-05-13 21:52:01 +02:00
cuda
discover [no-relnote] Skip nil discoverers in merge 2025-05-09 15:07:19 +02:00
dxcore
edits
info Fix mode detection on Thor-based systems 2025-05-13 21:30:27 +02:00
ldcache Fix resolution of libs in LDCache on ARM 2025-05-09 15:04:49 +02:00
logger
lookup Force symlink creation in create-symlink hook 2024-11-05 09:39:11 -08:00
modifier Add cuda-compat-mode config option 2025-05-13 21:52:01 +02:00
nvcaps
nvsandboxutils Fix incompatible pointer conversion 2024-09-25 16:40:43 -07:00
oci Rename test folder to tests 2025-02-28 17:24:22 +02:00
platform-support Rename test folder to tests 2025-02-28 17:24:22 +02:00
requirements
runtime Rename test folder to tests 2025-02-28 17:24:22 +02:00
system
test