avx512 is also supported on skylake cpus and later and not only KNL.
So maybe it would be good to rename this option and build for all avx512 enabled cpus
It would be possible like this in CMakeList.txt:
set(AVX512_FLAGS "${AVX512_FLAGS} -xCOMMON-AVX512 -qopt-zmm-usage=high -axCORE-AVX512,MIC-AVX512")
Hello,
avx512 is also supported on skylake cpus and later and not only KNL. So maybe it would be good to rename this option and build for all avx512 enabled cpus
It would be possible like this in CMakeList.txt:
set(AVX512_FLAGS "${AVX512_FLAGS} -xCOMMON-AVX512 -qopt-zmm-usage=high -axCORE-AVX512,MIC-AVX512")