-
Degeneracy-Evil authored
* [Bugfix] Add NVIDIA HPC SDK support in CUDA detection (#974) Enhanced CUDA detection to recognize NVIDIA HPC SDK installations: - Added path check for nvhpc in nvcc binary path - Added fallback scan for default nvhpc paths: /opt/nvidia/hpc_sdk/Linux_x86_64 - Maintained backward compatibility with standard CUDA installations Verification: - Tested on Ubuntu 24.04 with NVIDIA HPC SDK 25.7 - Confirmed detection works without manual CUDA_HOME or CUDA_PATH setting Fixes #974 * [Bugfix] Fix CUDA home detection logic * [Bugfix] Safely handle None cuda_home during CUDA detection Adds a check for None before validating the CUDA home path to prevent errors when the path is not set. * [Bugfix] Fix CUDA detection edge cases in nvhpc support (#974) - Improved nvhpc path detection logic - Added None check for cuda_home to avoid crashes - Maintained existing CUDA installation compatibility Fixes #974 * chore: rerun CI --------- Co-authored-by:NaNExist <138002947+NaNExist@users.noreply.github.com>
b0b5347a