nvidia-container-toolkit/cmd
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
..
nvidia-cdi-hook Merge pull request #950 from elezar/seal-ldconfig 2025-02-28 22:12:57 +02:00
nvidia-container-runtime Rename test folder to tests 2025-02-28 17:24:22 +02:00
nvidia-container-runtime-hook Add cuda-compat-mode config option 2025-05-13 21:52:01 +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-08 17:51:54 +02:00