Gromacs  2023.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
device_event_sycl.h File Reference
#include <algorithm>
#include <vector>
#include "gromacs/gpu_utils/device_stream.h"
#include "gromacs/gpu_utils/gmxsycl.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
+ Include dependency graph for device_event_sycl.h:


Implements a GpuEventSynchronizer class for SYCL.

This implementation relies on SYCL_INTEL_enqueue_barrier proposal,

Using event-based synchronization is not recommended for SYCL. SYCL queues are out-of-order and rely on data dependencies, allowing only to wait for a specific kernel (by capturing the event returned from queue.submit) or for all the tasks in the queue (queue.wait).

Erik Lindahl
Andrey Alekseenko