-diag_suppress (single dash)

This commit is contained in:
alphataubio
2024-10-09 17:22:35 -04:00
parent dd11385f6f
commit 147cf7face

View File

@ -141,7 +141,7 @@ endif()
# silence nvcc warnings # silence nvcc warnings
if((PKG_KOKKOS) AND (Kokkos_ENABLE_CUDA) AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")) 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() endif()
# we require C++11 without extensions. Kokkos requires at least C++17 (currently) # we require C++11 without extensions. Kokkos requires at least C++17 (currently)