nvidia-container-toolkit/cmd
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
..
nvidia-cdi-hook bump runc go dep to v1.3.0 2025-04-29 19:01:38 -07:00
nvidia-container-runtime Rename test folder to tests 2025-01-23 11:46:14 +01:00
nvidia-container-runtime-hook Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00
nvidia-container-runtime.cdi Add nvidia-container-runtime.cdi executable 2023-02-13 16:09:46 +01:00
nvidia-container-runtime.legacy Add nvidia-container-runtime.legacy executable 2023-02-13 16:09:46 +01:00
nvidia-ctk Allow container runtime executable path to be specified 2025-04-07 17:28:11 +02:00
nvidia-ctk-installer Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00