Add AVX_512 and KNC symbols to FFTW SIMD test
authorErik Lindahl <erik@kth.se>
Fri, 5 Jan 2018 10:49:45 +0000 (11:49 +0100)
committerErik Lindahl <erik.lindahl@gmail.com>
Fri, 5 Jan 2018 14:45:10 +0000 (15:45 +0100)
Otherwise the CMake code might complain loudly about
FFTW not being accelerated on KNC or KNL hosts.

Change-Id: I888936e9cec18436d775cb3c6eedc21335ab0e95

cmake/FindFFTW.cmake

index 9e4620f35616c1602ed6c664b74292c739c21ffd..afee8a06755852edc755628a2a57fe233ade5950 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+# Copyright (c) 2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -135,6 +135,8 @@ if (${FFTW}_FOUND)
               ${${FFTW}_FUNCTION_PREFIX}_have_simd_avx2_128
               ${${FFTW}_FUNCTION_PREFIX}_have_simd_avx512
               ${${FFTW}_FUNCTION_PREFIX}_have_simd_avx_128_fma
+              ${${FFTW}_FUNCTION_PREFIX}_have_simd_avx_512
+              ${${FFTW}_FUNCTION_PREFIX}_have_simd_kcvi
               ${${FFTW}_FUNCTION_PREFIX}_have_simd_altivec
               ${${FFTW}_FUNCTION_PREFIX}_have_simd_neon
               ${${FFTW}_FUNCTION_PREFIX}_have_simd_vsx