Optimized the vsite threading
commitb7e4f30d0c04e7d0d1b3ec026ce89415f9dcfc2e
authorBerk Hess <hess@kth.se>
Thu, 22 Oct 2015 11:04:42 +0000 (22 13:04 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 10 May 2016 13:58:34 +0000 (10 15:58 +0200)
treecc5234efa4536fcf71d329071128e0749483cc59
parentd5016710ad0e0f2aee086291e56ee7f23e29f4ba
Optimized the vsite threading

On many threads a significant part of the vsites would end up in
the separate serial task, thereby limiting scaling. Now two weakly
dependent tasks are generated for each thread and one of them uses
a thread-local force buffer, parts of which are reduced by different
threads that are responsible for those parts.
Also the vsite setup now runs multi-threaded.

Change-Id: I5b117ea2d4af7c1c5844748e2a53a64f69415384
src/gromacs/mdlib/vsite.cpp
src/gromacs/mdlib/vsite.h