Skip to content

Commit 5ed4ece

Browse files
authored
Restricting CUDA version to 12.4
Currently we are experiencing issues with CUDA 12.5 onwards. Thus, we are detecting this condition in CMake to prematurely throw an error.
1 parent 8d24f77 commit 5ed4ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if(${XMIPP_USE_CUDA})
7474
check_language(CUDA)
7575
if (CMAKE_CUDA_COMPILER)
7676
enable_language(CUDA)
77-
find_package(CUDAToolkit 10.2)
77+
find_package(CUDAToolkit 10.2...<12.5)
7878
if(CUDAToolkit_FOUND)
7979
file(APPEND ${XMIPP_VERSIONS_FILE} "CUDA=${CUDAToolkit_VERSION}\n")
8080

0 commit comments

Comments
 (0)