diff --git a/graph/impl/KokkosGraph_Distance2Color_impl.hpp b/graph/impl/KokkosGraph_Distance2Color_impl.hpp index 2ab04667e0..58b6d79ebb 100644 --- a/graph/impl/KokkosGraph_Distance2Color_impl.hpp +++ b/graph/impl/KokkosGraph_Distance2Color_impl.hpp @@ -157,7 +157,7 @@ class GraphColorDistance2 { colors_out = color_view_type("Graph Colors", this->nr); } switch (this->gc_handle->get_coloring_algo_type()) { - case COLORING_D2_VB_BIT_EF: using_edge_filtering = true; + case COLORING_D2_VB_BIT_EF: using_edge_filtering = true; [[fallthrough]]; case COLORING_D2_VB_BIT: case COLORING_D2_VB: compute_d2_coloring_vb(colors_out); break; case COLORING_D2_NB_BIT: compute_d2_coloring_nb(colors_out); break; diff --git a/perf_test/sparse/KokkosSparse_sptrsv.cpp b/perf_test/sparse/KokkosSparse_sptrsv.cpp index 35e8b0e16e..2ae5afae50 100644 --- a/perf_test/sparse/KokkosSparse_sptrsv.cpp +++ b/perf_test/sparse/KokkosSparse_sptrsv.cpp @@ -279,6 +279,7 @@ int test_sptrsv_perf(std::vector tests, const std::string &lfilename, #else std::cout << "CUSPARSE not enabled: Fall through to defaults" << std::endl; + [[fallthrough]]; #endif default: kh.create_sptrsv_handle(SPTRSVAlgorithm::SEQLVLSCHD_TP1, nrows, @@ -681,6 +682,7 @@ int test_sptrsv_perf(std::vector tests, const std::string &lfilename, #else std::cout << "CUSPARSE not enabled: Fall through to defaults" << std::endl; + [[fallthrough]]; #endif default: kh.create_sptrsv_handle(SPTRSVAlgorithm::SEQLVLSCHD_TP1, nrows, diff --git a/scripts/cm_test_all_sandia b/scripts/cm_test_all_sandia index db13665a3b..1bc7692e08 100755 --- a/scripts/cm_test_all_sandia +++ b/scripts/cm_test_all_sandia @@ -702,7 +702,7 @@ elif [ "$MACHINE" = "blake" ]; then ONEAPI_FLAGS_EXTRA="-fp-model=precise" LLVM_EXTRA_FLAGS="-fPIC ${CLANG_WARNING_FLAGS}" # Remove -Wuninitialized: compiler issues show up with Threads backend - GCC11_WARNING_FLAGS="-Wall,-Wunused-parameter,-Wshadow,-pedantic,-Werror,-Wsign-compare,-Wtype-limits,-Wignored-qualifiers,-Wempty-body,-Wclobbered" + GCC11_WARNING_FLAGS="-Wall,-Wunused-parameter,-Wshadow,-pedantic,-Werror,-Wsign-compare,-Wtype-limits,-Wignored-qualifiers,-Wempty-body,-Wclobbered,-Wimplicit-fallthrough" # update KOKKOS_PASSTHRU_CMAKE_FLAGS to disable onedpl on Blake KOKKOS_PASSTHRU_CMAKE_FLAGS="${KOKKOS_PASSTHRU_CMAKE_FLAGS} -DKokkos_ENABLE_ONEDPL=OFF" diff --git a/sparse/impl/KokkosSparse_spgemm_impl_memaccess.hpp b/sparse/impl/KokkosSparse_spgemm_impl_memaccess.hpp index 51d151e4fb..575ddca578 100644 --- a/sparse/impl/KokkosSparse_spgemm_impl_memaccess.hpp +++ b/sparse/impl/KokkosSparse_spgemm_impl_memaccess.hpp @@ -663,7 +663,7 @@ void KokkosSPGEMM