diff --git a/cmake/FindCUDACompilerClang.cmake b/cmake/FindCUDACompilerClang.cmake index e67853375ce..46d26e2931f 100644 --- a/cmake/FindCUDACompilerClang.cmake +++ b/cmake/FindCUDACompilerClang.cmake @@ -93,9 +93,14 @@ target_compile_options( $<$:-O2 -g -DNDEBUG> $<$:-O3 -g> $<$:-O3 -g> - $<$:--cuda-gpu-arch=sm_52> # GTX-900 series (Maxwell) - $<$:--cuda-gpu-arch=sm_61> # GTX-1000 series (Pascal) - $<$:--cuda-gpu-arch=sm_75> # RTX-2000 series (Turing) + # GTX-900 series (Maxwell) + $<$:--cuda-gpu-arch=sm_52> + # GTX-1000 series (Pascal) + $<$:--cuda-gpu-arch=sm_61> + # RTX-2000 series (Turing) + # With Clang 14+, architectures sm_70+ are only supported with Thrust 1.11+ + # from CUDA 11.3+, for details see https://github.com/NVIDIA/cub/pull/170 + $<$,$,$>>:--cuda-gpu-arch=sm_75> ) function(add_gpu_library) diff --git a/src/python/espressomd/CMakeLists.txt b/src/python/espressomd/CMakeLists.txt index 382c4735574..aa72f42ae72 100644 --- a/src/python/espressomd/CMakeLists.txt +++ b/src/python/espressomd/CMakeLists.txt @@ -62,7 +62,6 @@ target_compile_options( $<$:-Wno-sometimes-uninitialized> $<$:-Wno-\#warnings> $<$,$,14.0.0>>:-Wno-c++17-attribute-extensions> - $<$,$,14.0.0>>:-Wno-c++17-attribute-extensions> $<$:-Wno-c++17-attribute-extensions> -Wno-unused-variable)