Struct opencl3::event::Event [−][src]
pub struct Event { /* fields omitted */ }
Expand description
An OpenCL event object.
Has methods to return information from calls to clGetEventInfo and
clGetEventProfilingInfo with the appropriate parameters.
Implements the Drop trait to call release_event when the object is dropped.
Implementations
Create an Event from an OpenCL cl_event.
event
- a valid OpenCL cl_event.
returns the new Event