Skip to content

Commit 156458e

Browse files
committed
bump CUDA to c++20
1 parent 9674272 commit 156458e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/cuda.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# cmake 3.17 decouples C++ and CUDA standards, see https://gitlab.kitware.com/cmake/cmake/issues/19123
22
# cmake 3.18 knows that CUDA 11 provides cuda_std_17
33
cmake_minimum_required(VERSION 3.18.0)
4-
set(CMAKE_CUDA_STANDARD 17)
4+
set(CMAKE_CUDA_STANDARD 20)
55
set(CMAKE_CUDA_EXTENSIONS OFF)
66
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
77
set(CMAKE_CUDA_SEPARABLE_COMPILATION ON)

0 commit comments

Comments
 (0)