nvidia-container-toolkit/cmd/nvidia-cdi-hook/cudacompat
Evan Lezar fc65d3a784
Add enable-cuda-compat hook to allow compat libs to be discovered
This change adds an nvidia-cdi-hook enable-cuda-compat hook that checks the
container for cuda compat libs and updates /etc/ld.so.conf.d to include their
parent folder if their driver major version is sufficient.

This allows CUDA Forward Compatibility to be used when this is not available
through the libnvidia-container.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-02-27 15:58:15 +02:00
..
container-root.go Add enable-cuda-compat hook to allow compat libs to be discovered 2025-02-27 15:58:15 +02:00
cudacompat_test.go Add enable-cuda-compat hook to allow compat libs to be discovered 2025-02-27 15:58:15 +02:00
cudacompat.go Add enable-cuda-compat hook to allow compat libs to be discovered 2025-02-27 15:58:15 +02:00