Add GpuEventSynchronizer class
commit598b5cf74d605a08247d1c7f797a9bd1a07f0c37
authorAleksei Iupinov <a.yupinov@gmail.com>
Mon, 16 Apr 2018 15:54:07 +0000 (16 17:54 +0200)
committerAleksei Iupinov <a.yupinov@gmail.com>
Thu, 31 May 2018 09:17:35 +0000 (31 11:17 +0200)
tree5bb4b394b1fb8b20dd1d614dcd32ab1c8b7b6edd
parent442845fd1732b71d6d33973e4a7950438bba3252
Add GpuEventSynchronizer class

This class encapsulates the host synchronisation on a single GPU
event (currently used for PME mixed mode).
In the future it can also be extended for inter-queue GPU sync.

Change-Id: I8ea0cb615c041d64ebb0580b5f54bdaa26a6aeea
src/gromacs/ewald/pme-gpu-internal.cpp
src/gromacs/ewald/pme-gpu-internal.h
src/gromacs/ewald/pme.cu
src/gromacs/ewald/pme.cuh
src/gromacs/gpu_utils/gpueventsynchronizer.cuh [new file with mode: 0644]
src/gromacs/gpu_utils/gpueventsynchronizer_ocl.h [new file with mode: 0644]
src/gromacs/gpu_utils/oclutils.h