tmcdonell / cuda

Haskell FFI bindings to CUDA
Other
76 stars 36 forks source link

Add notice about CUDA_PATH in found-cuda message #67

Closed tomsmeding closed 3 years ago

tomsmeding commented 3 years ago

If someone has two cuda's installed (e.g. cuda 11 by default but a side-install of cuda 10 in /opt/cuda-10.2, for me), the setup script chooses the default one and never shows the error message indicating that CUDA_PATH may be used to override the discovery process. This patch mentions the environment variable also in the successful case, so that people like me have a way to figure out that CUDA_PATH exists.