Update stats for gromacs scheme

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti 2022-02-04 14:47:37 +01:00
parent 6e6a3f6502
commit 34ce407f18

View File

@ -234,8 +234,8 @@ double computeForceLJ_4xn(Parameter *param, Atom *atom, Neighbor *neighbor, Stat
cluster_y(cifptr, 3) = simd_horizontal_sum(fiy3); cluster_y(cifptr, 3) = simd_horizontal_sum(fiy3);
cluster_z(cifptr, 3) = simd_horizontal_sum(fiz3); cluster_z(cifptr, 3) = simd_horizontal_sum(fiz3);
addStat(stats->total_force_neighs, numneighs); addStat(stats->total_force_neighs, numneighs * CLUSTER_DIM_M * CLUSTER_DIM_N);
addStat(stats->total_force_iters, (numneighs + VECTOR_WIDTH - 1) / VECTOR_WIDTH); addStat(stats->total_force_iters, numneighs / 2);
} }
LIKWID_MARKER_STOP("force"); LIKWID_MARKER_STOP("force");