1 /* Some target architectures compile kernels for only some NBNxN
2 * kernel flavours, but the code is generated before the target
3 * architecture is known. So compilation is conditional upon
4 * {0}, so that this file reduces to a stub
5 * function definition when the kernel will never be called.
7 #define GMX_SIMD_J_UNROLL_SIZE {7}
15 #include "nbnxn_kernel_simd_2xnn_common.h"
20 {5}(const nbnxn_pairlist_t gmx_unused *nbl,
21 {6}const nbnxn_atomdata_t gmx_unused *nbat,
22 {6}const interaction_const_t gmx_unused *ic,
23 {6}rvec gmx_unused *shift_vec,
24 {6}real gmx_unused *f,
25 {6}real gmx_unused *fshift,
26 {6}real gmx_unused *Vvdw,
27 {6}real gmx_unused *Vc)
28 #else /* CALC_ENERGIES */
30 {5}(const nbnxn_pairlist_t gmx_unused *nbl,
31 {6}const nbnxn_atomdata_t gmx_unused *nbat,
32 {6}const interaction_const_t gmx_unused *ic,
33 {6}rvec gmx_unused *shift_vec,
34 {6}real gmx_unused *f,
35 {6}real gmx_unused *fshift)
36 #endif /* CALC_ENERGIES */
38 #include "nbnxn_kernel_simd_2xnn_outer.h"
41 /* No need to call gmx_incons() here, because the only function
42 * that calls this one is also compiled conditionally. When
43 * {0} is not defined, it will call no kernel functions and
44 * instead call gmx_incons().