Added GPU local wait to load balancing
authorBerk Hess <hess@kth.se>
Thu, 11 Sep 2014 13:02:14 +0000 (15:02 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 30 Sep 2014 11:10:22 +0000 (13:10 +0200)
commit4fdcbf774d64a2a8bd511f331d64b73ff369c475
treec1384a30806ee82b21fd4b45180a4701d50ac3ff
parent62518a2c1c18a34bb2d4c67a2bdea58f1669d0f8
Added GPU local wait to load balancing

The GPU local wait time was not included in the load imbalance timing.
This could lead to incorrect load imbalance reporting and dynamic
load balancing, especially with CUDA stream priorities.
Note that we can't accurately measure the GPU time, when it finishes
during dd_move_f.

Change-Id: If4bb0f867593450cc025c8593672b0569397b1d6
src/gromacs/mdlib/sim_util.c
src/gromacs/timing/wallcycle.c
src/gromacs/timing/wallcycle.h