Skip to content

Commit

Permalink
CMake: Introduce forced failure for SSE2 vectorisation configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppelteret committed Jun 15, 2022
1 parent 7947187 commit 55db357
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/checks/check_02_compiler_features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ WF_CHECK_CXX_SOURCE_RUNS(
do_test<double, 2>();
do_test<float, 4>();
#endif
// All indications are that _mm_sqrt_pd() sporadically segfaults with zero input vector.
#if DEAL_II_VECTORIZATION_WIDTH_IN_BITS == 128
static_assert(false, 'Problematic vectorization width detected.');
#endif
do_test<double, 1>();
do_test<float, 1>();
Expand Down

0 comments on commit 55db357

Please sign in to comment.