Dr-Noob / peakperf

Achieve peak performance on x86 CPUs and NVIDIA GPUs
GNU General Public License v2.0
64 stars 14 forks source link

Enhance CMakeLists.txt to Support CUDA Detection in Non-Default Paths #21

Open stefano-corda opened 1 year ago

stefano-corda commented 1 year ago

This PR augments the CMakeLists.txt to enable detection of CUDA libraries and compiler in locations other than their default installation paths. This is especially beneficial for setups where CUDA is installed via third-party package managers, such as Spack.

By providing better flexibility in locating CUDA installations, this update ensures seamless integration for users who prefer or rely on alternative installation methods.