set(DEAL_II_VECTORIZATION_WIDTH_IN_BITS 0)
# Require lambda support to use Kokkos as a backend
KOKKOS_CHECK(OPTIONS CUDA_LAMBDA)
+
+ # Disable a bunch of annoying warnings generated by boost, template code,
+ # and in other random places:
+ #
+ # integer conversion resulted in a change of sign:
+ enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=68")
+ # variable "i" was set but never used:
+ enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=550")
+ # loop is not reachable:
+ enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=128")
+ # warning #186-D: pointless comparison of unsigned integer with zero
+ enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=186")
+ # warning #177-D: variable "n_max_face_orientations" was declared but never referenced
+ enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=177")
+ # warning #284-D: NULL reference is not allowed
+ enable_if_supported(DEAL_II_CXX_FLAGS "-Xcudafe --diag_suppress=284")
+ # extra parentheses:
+ enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-parentheses")
+
endif()
endif()