DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::device_event Class Reference

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_eventoperator= (const device_event &rhs)=default
 
device_eventoperator= (device_event &&rhs)=default
 
 device_event (__ocl_event_t Event)
 
void wait ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ device_event() [1/3]

sycl::_V1::device_event::device_event ( const device_event rhs)
default

◆ device_event() [2/3]

sycl::_V1::device_event::device_event ( device_event &&  rhs)
default

◆ device_event() [3/3]

sycl::_V1::device_event::device_event ( __ocl_event_t  Event)
inline

Definition at line 32 of file device_event.hpp.

Member Function Documentation

◆ operator=() [1/2]

device_event& sycl::_V1::device_event::operator= ( const device_event rhs)
default

◆ operator=() [2/2]

device_event& sycl::_V1::device_event::operator= ( device_event &&  rhs)
default

◆ wait()

void sycl::_V1::device_event::wait ( )
inline

The documentation for this class was generated from the following file: