Skip to content

SIMD Vectorization with OpenMP

Man-Long (Norman) Wong edited this page Jan 24, 2021 · 5 revisions

The code is fully vectorized with the OpenMP SIMD construct. The SIMD vectorization is turned on by default for speed-up. To turn off the SIMD vectorization, you will need to add the flag -DHAMERS_ENABLE_SIMD=OFF when the cmake command is executed. The SIMD construct is always ignored in debug mode since OpenMP is not used.