nvidia-container-toolkit/cmd/nvidia-ctk-installer
Evan Lezar f4981f0876
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:49:53 +02:00
..
container [no-relnote] Move toolkit installer package 2025-04-17 13:56:56 +02:00
toolkit Refactor toolkit installer 2025-04-17 13:56:58 +02:00
main_test.go Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00
main.go [no-relnote] Move toolkit installer package 2025-04-17 13:56:56 +02:00