Update CMakeLists.txt

This commit is contained in:
alphataubio
2024-10-09 17:26:30 -04:00
parent 147cf7face
commit 79c9d69931

View File

@ -141,7 +141,7 @@ endif()
# silence nvcc warnings
if((PKG_KOKKOS) AND (Kokkos_ENABLE_CUDA) AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
set(CMAKE_TUNE_DEFAULT "${CMAKE_TUNE_DEFAULT} -Xcudafe --diag_suppress=unrecognized_pragma -Xcudafe -diag_suppress=128")
set(CMAKE_TUNE_DEFAULT "${CMAKE_TUNE_DEFAULT} -Xcudafe --diag_suppress=unrecognized_pragma -Xcudafe -diag-suppress 128")
endif()
# we require C++11 without extensions. Kokkos requires at least C++17 (currently)