Slight simplifcation of 2xnn
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_kernels / simd_2xnn / nbnxn_kernel_simd_2xnn_common.h
index 228fa8b25831d5e5b85e4d46644c2c1b6fe00fe0..a87ca0eb169f9d344beb90311960b78106c8026c 100644 (file)
@@ -49,7 +49,7 @@
 #define UNROLLJ    (GMX_SIMD_REAL_WIDTH/GMX_SIMD_J_UNROLL_SIZE)
 
 /* The stride of all the atom data arrays is equal to half the SIMD width */
-#define STRIDE     (GMX_SIMD_REAL_WIDTH/GMX_SIMD_J_UNROLL_SIZE)
+#define STRIDE     UNROLLJ
 
 #include "../nbnxn_kernel_simd_utils.h"