Fix calling SIMD group kernels
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 3 Mar 2014 16:34:53 +0000 (17:34 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 3 Mar 2014 16:38:56 +0000 (17:38 +0100)
The #define of GMX_SIMD*_OR_HIGHER takes place in simd.h, which got
changed late in the evolution of the recent SIMD-module patch, in
order to reduce unwanted module dependencies. However, the explicit
dependency of the group kernel setup code on the SIMD module was not
added. (It seems that the dependency on the old SIMD macros.h was been
satisfied transitively.) In effect, this turned off group-scheme SIMD,
but the silent fallback to C kernels meant there was no red flag until
we got around to measuring performance.

Change-Id: I78842cb191f6188fe4188800399efd2ed99e5543

src/gromacs/gmxlib/nonbonded/nonbonded.c

index e2448ade984af968d07627559a5c563b5cad5cff..d8dc5767b6a2d8a1fece1fb4f43c9c88e6676298 100644 (file)
@@ -61,6 +61,7 @@
 #include "nrnb.h"
 #include "smalloc.h"
 #include "nonbonded.h"
+#include "gromacs/simd/simd.h"
 
 #include "nb_kernel.h"
 #include "nb_free_energy.h"