Skip to content

Commit 8b9fe7f

Browse files
gmgunterGitHub Enterprise
authored andcommitted
Bump CUDA min version check to CUDA 11 (#888)
1 parent e597c21 commit 8b9fe7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ if (WITH_CUDA)
4848

4949
# check CUDA version
5050
set(CUDA_VERSION ${CMAKE_CUDA_COMPILER_VERSION})
51-
if (CUDA_VERSION VERSION_LESS 9)
52-
message(FATAL_ERROR "CUDA version must be at least 9. Detected ${CUDA_VERSION}")
51+
if (CUDA_VERSION VERSION_LESS 11)
52+
message(FATAL_ERROR "CUDA version must be at least 11. Detected ${CUDA_VERSION}")
5353
endif()
5454

5555
# specify target CUDA device architecture(s)

cxx/isce3/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ target_link_libraries(${LISCE} PRIVATE
2929
)
3030

3131
target_compile_features(${LISCE} INTERFACE
32-
cxx_std_14
32+
cxx_std_17
3333
)
3434

3535
target_include_directories(${LISCE} PUBLIC

0 commit comments

Comments
 (0)