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.
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.