Skip to content

Commit

Permalink
CMake: remove DEAL_II_HAVE_ARM_NEON and use DEAL_II_VECTORIZATION_LEV…
Browse files Browse the repository at this point in the history
…EL_IN_BITS
  • Loading branch information
tamiko committed Sep 30, 2024
1 parent 5f686bb commit 2a4a70c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions include/deal.II/base/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@
#define DEAL_II_COMPILER_VECTORIZATION_LEVEL 0
#endif

#cmakedefine DEAL_II_HAVE_ARM_NEON

#define DEAL_II_OPENMP_SIMD_PRAGMA @DEAL_II_OPENMP_SIMD_PRAGMA@


Expand Down
4 changes: 2 additions & 2 deletions include/deal.II/base/vectorization.h
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ vectorized_transpose_and_store(const bool add_into,

#ifndef DOXYGEN

# if defined(DEAL_II_HAVE_ARM_NEON) && defined(__ARM_NEON)
# if DEAL_II_VECTORIZATION_WIDTH_IN_BITS >= 128 && defined(__ARM_NEON)

/**
* Specialization for double and ARM Neon.
Expand Down Expand Up @@ -6313,7 +6313,7 @@ compare_and_apply_mask(const VectorizedArray<double, 2> &left,

# endif

# if defined(DEAL_II_HAVE_ARM_NEON) && defined(__ARM_NEON)
# if DEAL_II_VECTORIZATION_WIDTH_IN_BITS >= 128 && defined(__ARM_NEON)

template <SIMDComparison predicate>
DEAL_II_ALWAYS_INLINE inline VectorizedArray<float, 4>
Expand Down

0 comments on commit 2a4a70c

Please sign in to comment.