xref: #1284 (comment)
These libs are installed as part of the CUDA driver and can be reliably found via the dynamic loader system search.
"cuda"
- Linux:
libcuda.so.1
- Windows:
nvcuda.dll
"nvml"
- Linux:
libnvidia-ml.so.1
- Windows:
nvml.dll
The "cuda" lib can come from cuda-compat (Linux only) but it must be on the system path, so we can simply rely on the dynamic loader and do not need to search in multiple places.