Event class C wrapper¶
Overview¶
// global functions DPCTL_API void DPCTLEvent_Delete(__dpctl_take DPCTLSyclEventRef ERef); DPCTL_API void DPCTLEvent_Wait(__dpctl_keep DPCTLSyclEventRef ERef);
Detailed Documentation¶
Global Functions¶
DPCTL_API void DPCTLEvent_Delete(__dpctl_take DPCTLSyclEventRef ERef)
Deletes the DPCTLSyclEventRef after casting it to a sycl::event.
Parameters:
ERef |
An opaque DPCTLSyclEventRef pointer that would be freed. |
DPCTL_API void DPCTLEvent_Wait(__dpctl_keep DPCTLSyclEventRef ERef)
C-API wrapper for sycl::event.wait.
Parameters:
ERef |
An opaque DPCTLSyclEventRef pointer on which to wait. |