Skip to content

Commit

Permalink
Remove "omp simd" vectorization on Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Pansysk75 committed Nov 18, 2024
1 parent 342d373 commit 57a7f65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,10 @@ namespace hpx::parallel {
util::loop_n<std::decay_t<ExPolicy>>(part_begin, part_size,
[&dest](zip_iterator it) mutable {
if (get<1>(*it))
*dest++ = get<0>(*it);
{
*dest = get<0>(*it);
dest++;
}
});
};

Expand Down
16 changes: 0 additions & 16 deletions libs/core/config/include/hpx/config/auto_vectorization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,6 @@

#define HPX_HAVE_VECTOR_REDUCTION

#elif (_OPENMP >= 201307) || (defined(__clang__) && HPX_CLANG_VERSION >= 30700)

#define HPX_PRAGMA_SIMD_EARLYEXIT
#define HPX_IVDEP
#define HPX_VECTORIZE HPX_PRAGMA(omp simd)
#define HPX_VECTOR_REDUCTION(CLAUSE) HPX_PRAGMA(omp simd reduction(CLAUSE))
#define HPX_DECLARE_SIMD HPX_PRAGMA(omp declare simd)

#define HPX_RESTRICT
#define HPX_UNROLL
#define HPX_UNROLL_N(N)

#define HPX_PRAGMA_VECTOR_UNALIGNED

#define HPX_HAVE_VECTOR_REDUCTION

// Fallback to compiler-specific back-ends
#elif defined(HPX_INTEL_VERSION)
#define HPX_IVDEP HPX_PRAGMA(ivdep)
Expand Down

0 comments on commit 57a7f65

Please sign in to comment.