From 3464c079560edd1578b4d143197af2985b5f600d Mon Sep 17 00:00:00 2001 From: Pansysk75 Date: Wed, 20 Nov 2024 10:56:32 -0600 Subject: [PATCH] Disable autovectorization with omp simd on Clang --- libs/core/config/include/hpx/config/auto_vectorization.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/config/include/hpx/config/auto_vectorization.hpp b/libs/core/config/include/hpx/config/auto_vectorization.hpp index 1beadbedcfa8..92a2a488ccfe 100644 --- a/libs/core/config/include/hpx/config/auto_vectorization.hpp +++ b/libs/core/config/include/hpx/config/auto_vectorization.hpp @@ -49,7 +49,7 @@ #define HPX_HAVE_VECTOR_REDUCTION -#elif (_OPENMP >= 201307) || (defined(__clang__) && HPX_CLANG_VERSION >= 30700) +#elif (_OPENMP >= 201307) && !defined(HPX_CLANG_VERSION) #define HPX_PRAGMA_SIMD_EARLYEXIT #define HPX_IVDEP