Improve hipSYCL GpuEventSynchronizer implementation
authorAndrey Alekseenko <al42and@gmail.com>
Thu, 3 Jun 2021 13:08:47 +0000 (16:08 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 17 Jun 2021 12:35:56 +0000 (12:35 +0000)
commitf3e7c8aae56c6c0f3ae1afa47485ada2eded0fbd
treef4a9307ac72d8c0e0c1ec5ac68a4c0b9046debd5
parentdf463c2cf9e1ee786b2f6e224e5168933c378ecb
Improve hipSYCL GpuEventSynchronizer implementation

Previously, an inefficient stub was added. Here, we do proper event
tracking using the HIPSYCL_EXT_QUEUE_WAIT_LIST extension.

Since now we can have to wait on multiple events, replaced the
std::optional with std::vector.

Closes #4064
src/gromacs/gpu_utils/gpueventsynchronizer_sycl.h