Skip to content
Snippets Groups Projects
Commit 2527a5f7 authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'alignment' into 'master'

AVX support for Clang compilers

Closes #177

See merge request walberla/walberla!509
parents e429d5f2 a013d16f
Branches
Tags
No related merge requests found
...@@ -325,14 +325,14 @@ namespace field { ...@@ -325,14 +325,14 @@ namespace field {
const uint_t alignment = 64; const uint_t alignment = 64;
#elif defined(__ARM_NEON) #elif defined(__ARM_NEON)
const uint_t alignment = 16; const uint_t alignment = 16;
#elif defined(__BIGGEST_ALIGNMENT__)
const uint_t alignment = __BIGGEST_ALIGNMENT__;
#elif defined(__AVX512F__) #elif defined(__AVX512F__)
const uint_t alignment = 64; const uint_t alignment = 64;
#elif defined(__AVX__) #elif defined(__AVX__)
const uint_t alignment = 32; const uint_t alignment = 32;
#elif defined(__SSE__) || defined(_MSC_VER) #elif defined(__SSE__) || defined(_MSC_VER)
const uint_t alignment = 16; const uint_t alignment = 16;
#elif defined(__BIGGEST_ALIGNMENT__)
const uint_t alignment = __BIGGEST_ALIGNMENT__;
#else #else
const uint_t alignment = 64; const uint_t alignment = 64;
#endif #endif
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment