Module opencl3::event[][src]

Structs

CommandExecutionStatus is a newtype around the OpenCL command execution status

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.

EventCommandType is a newtype around the OpenCL cl_command_type

Constants

Functions

Create an OpenCL user event object.
Calls clCreateUserEvent to create an OpenCL event.

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

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

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

Get profiling information for a command associated with an event when profiling is enabled.
Calls clGetEventProfilingInfo to get the desired information.

Release an OpenCL event.
Calls clReleaseEvent to decrement the event reference count.

Retain an OpenCL event.
Calls clRetainEvent to increment the event reference count.

Register a user callback function for a specific command execution status, Calls clSetEventCallback to register a callback function.

Set the execution status of a user event object.
Calls clSetUserEventStatus to set the execution status.

Wait for OpenCL events to complete.
Calls clWaitForEvents.