You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All that FindAVX.cmake does is probing /proc/cpuinfo for avx extensions, and set the AVX_VERSION cmake variable accordingly. Later, if the compiler is either Intel or GNU, EkatSetCompilerFlags will add the correct avx compiler flag, depending on AVX_VERSION.
I would consider removing this feature, for the following reasons:
It only works if the node where we compile has the same architecture as the compute node.
Only works for Intel and GNU.
Kokkos_ARCH_XYZ already provides the vectorization flags, also for other compilers.
It's yet another low level detail to maintain (rather than rely on kokkos).
The text was updated successfully, but these errors were encountered:
Question
All that
FindAVX.cmake
does is probing/proc/cpuinfo
for avx extensions, and set the AVX_VERSION cmake variable accordingly. Later, if the compiler is either Intel or GNU, EkatSetCompilerFlags will add the correct avx compiler flag, depending on AVX_VERSION.I would consider removing this feature, for the following reasons:
The text was updated successfully, but these errors were encountered: