Event-based Dependency for GPU Force Halo Exchange
authorAlan Gray <alangraygerrit@gmail.com>
Tue, 22 Oct 2019 14:23:11 +0000 (07:23 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 27 Nov 2019 05:48:02 +0000 (06:48 +0100)
commit7073b54d9fbf8ddfe007309233a9b83943dee67c
treef0ab3ed178de21f1c3bc3339e35162091b302d0d
parent602d904648a7d7274f7eb840820535a420988b95
Event-based Dependency for GPU Force Halo Exchange

Introduces new event recorded when exchanged forces are ready on GPU,
and passes this into force buffer ops using dependencyList. Removes previous
mechanism of forcing local stream to wait on non-local stream.

Addresses part of #3093
Refs  #3194

Change-Id: I768898839e5c6a653894d5eb80354f0e423e06ed
src/gromacs/domdec/gpuhaloexchange.h
src/gromacs/domdec/gpuhaloexchange_impl.cpp
src/gromacs/domdec/gpuhaloexchange_impl.cu
src/gromacs/domdec/gpuhaloexchange_impl.cuh
src/gromacs/mdlib/sim_util.cpp
src/gromacs/nbnxm/cuda/nbnxm_cuda.cu
src/gromacs/nbnxm/nbnxm.cpp
src/gromacs/nbnxm/nbnxm.h
src/gromacs/nbnxm/nbnxm_gpu.h