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