Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
waLBerla
waLBerla
Commits
f3b6784e
Commit
f3b6784e
authored
May 27, 2021
by
Markus Holzer
Browse files
Merge branch 'alignment' into 'master'
Workaround for __BIGGEST_ALIGNMENT__ on Clang See merge request
!458
parents
2d57fd58
632db8d8
Pipeline
#32362
passed with stages
in 531 minutes and 33 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/field/Field.impl.h
View file @
f3b6784e
...
...
@@ -322,14 +322,14 @@ namespace field {
const
uint_t
alignment
=
64
;
#elif defined(__ARM_NEON)
const
uint_t
alignment
=
16
;
#elif defined(__BIGGEST_ALIGNMENT__)
const
uint_t
alignment
=
__BIGGEST_ALIGNMENT__
;
#elif defined(__AVX512F__)
const
uint_t
alignment
=
64
;
#elif defined(__AVX__)
const
uint_t
alignment
=
32
;
#elif defined(__SSE__) || defined(_MSC_VER)
const
uint_t
alignment
=
16
;
#elif defined(__BIGGEST_ALIGNMENT__)
const
uint_t
alignment
=
__BIGGEST_ALIGNMENT__
;
#else
const
uint_t
alignment
=
64
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment