Only use AVX512 in own-FFTW if GROMACS also uses it
authorSzilárd Páll <pall.szilard@gmail.com>
Thu, 20 Jun 2019 17:18:23 +0000 (19:18 +0200)
committerPaul Bauer <paul.bauer.q@gmail.com>
Mon, 24 Jun 2019 08:34:21 +0000 (10:34 +0200)
commit660c00f58099d06a0348bb95a2704a679628695e
tree0af073967ba9edd87f012dd2b8c748794d51e346
parentc8bdca0a8a72ce83f49158e7167d05e78bca86a0
Only use AVX512 in own-FFTW if GROMACS also uses it

Building the own FFTW with AVX512 enabled for all AVX-flavors means that
an AVX2 build can end up loosing a significant amount of performance due
to clock throttle if the FFTW auto-tuner inadvertently picks and AVX512
kernel. This is not unlikely as measurements at startup are very noisy
and often lead to inconsistent kernel choice (observed in practice).

Change-Id: I857326a13a7c4dd1a6f5ab44360211301b05d3ac
docs/release-notes/2020/major/performance.rst
src/external/build-fftw/CMakeLists.txt