Commit Graph

4 Commits

Author SHA1 Message Date
8b1df39edf Add cudainfo program to test CUDA
The cudainfo program checks that we can initialize the CUDA RT library
and communicate with the driver. It can be used as standalone program or
built with cudainfo.gpuCheck so it is executed inside the build sandbox
to see if it also works fine. It uses the autoAddDriverRunpath hook to
inject in the runpath the location of the library directory for CUDA
libraries.
2025-07-22 16:15:10 +02:00
378716c0fa Add missing symlink in cuda sandbox 2025-07-21 18:22:20 +02:00
2f3490b597 Enable cuda systemFeature in raccoon and fox
This allows running derivations which depend on cuda runtime without
breaking the sandbox. We only need to add `requiredSystemFeatures = [ "cuda" ];`
to the derivation.
2025-07-21 18:22:20 +02:00
766ac185d2 Move shared nvidia settings to a separate module 2025-07-21 18:22:12 +02:00