Refactor GPU buf ops-related launches in do_force()
commit2bc1338182a8304403b8fa4c5e6f65eb2a216913
authorSzilárd Páll <pall.szilard@gmail.com>
Wed, 11 Sep 2019 17:07:00 +0000 (11 19:07 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Mon, 16 Sep 2019 14:27:39 +0000 (16 16:27 +0200)
treef99433a7959056f96a8e4732f5016b1cf16be5ad
parent44f607d71afaea9e51bb9d1cc2bc132f34482f32
Refactor GPU buf ops-related launches in do_force()

- Consolidate branchy-ness into better organized code;
- Rename and clarify conditionals related to CPU force contributions:
  for non-local forces only the presence of bonded interactions should
  be a dependency, while for locals, the presence of any local force
  contribtion from the CPU.

Change-Id: I91921d5d7425206b5980ec2b96032790a5d54408
src/gromacs/mdlib/sim_util.cpp