Encapsulates a single SYCL device event which is available only within SYCL kernel functions and can be used to wait for asynchronous operations within a kernel function to complete. More...
#include <sycl/device_event.hpp>
Public Member Functions | |
device_event (const device_event &rhs)=default | |
device_event (device_event &&rhs)=default | |
device_event & | operator= (const device_event &rhs)=default |
device_event & | operator= (device_event &&rhs)=default |
device_event (__ocl_event_t Event) | |
void | wait () |
Encapsulates a single SYCL device event which is available only within SYCL kernel functions and can be used to wait for asynchronous operations within a kernel function to complete.
Definition at line 22 of file device_event.hpp.
|
default |
|
default |
|
inline |
Definition at line 32 of file device_event.hpp.
|
default |
|
default |
|
inline |
Definition at line 34 of file device_event.hpp.
References __spirv_GroupWaitEvents(), and __spv::Scope::Workgroup.
Referenced by sycl::_V1::__SYCL_TYPE().