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 Fix build and test on darwin 2024-02-05 23:58:28 +01:00
discover [no-relnote] Skip nil discoverers in merge 2025-05-09 15:07:19 +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 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 Add Tracef to logger Interface 2024-07-01 12:12:38 +02:00
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 Correct constructin of MIG Caps 2022-10-13 14:06:30 +02:00
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 Fix unnecessary conversion 2023-10-24 20:11:34 +02:00
runtime Rename test folder to tests 2025-02-28 17:24:22 +02:00
system Add proc.devices.New constructor 2024-02-06 11:19:43 +01:00
test Add test package with GetModuleRoot and PrependToPath function 2022-03-29 11:05:41 +02:00