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

Get the underlying OpenCL cl_event.

Wait for the event to complete.

Get data about an OpenCL event. Calls clGetEventInfo to get the desired data about the event.

CL_VERSION_2_0

Get profiling data about an OpenCL event. Calls clGetEventProfilingInfo to get the desired profiling data about the event.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.