|
JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java (public API).
|
Custom, user controlled event. More...
Public Member Functions | |
| CLUserEvent | setStatus (final CLEvent.ExecutionStatus status) |
| Sets the event execution status. More... | |
| CLUserEvent | setComplete () |
Sets this event's status to CLEvent.ExecutionStatus#COMPLETE. More... | |
| CommandType | getType () |
Returns CLEvent.CommandType#USER. More... | |
Public Member Functions inherited from com.jogamp.opencl.CLEvent | |
| void | registerCallback (final CLEventListener callback) |
| Registers a callback which will be called when the event terminates (COMPLETE or ERROR). More... | |
| void | release () |
| Releases the OpenCL resource. More... | |
| ExecutionStatus | getStatus () |
| Returns the execution status of the command which triggers this event. More... | |
| boolean | isComplete () |
Returns true only if getStatus returns ExecutionStatus#COMPLETE. More... | |
| int | getStatusCode () |
| CommandType | getType () |
| long | getProfilingInfo (final ProfilingCommand command) |
| String | toString () |
| boolean | equals (final Object obj) |
| int | hashCode () |
Static Public Member Functions | |
| static CLUserEvent | create (final CLContext context) |
| Creates a new user event. More... | |
|
static |
Creates a new user event.
Definition at line 53 of file CLUserEvent.java.
| CommandType com.jogamp.opencl.CLUserEvent.getType | ( | ) |
Returns CLEvent.CommandType#USER.
Reimplemented from com.jogamp.opencl.CLEvent.
Definition at line 86 of file CLUserEvent.java.
| CLUserEvent com.jogamp.opencl.CLUserEvent.setComplete | ( | ) |
Sets this event's status to CLEvent.ExecutionStatus#COMPLETE.
Definition at line 78 of file CLUserEvent.java.
| CLUserEvent com.jogamp.opencl.CLUserEvent.setStatus | ( | final CLEvent.ExecutionStatus | status | ) |
Sets the event execution status.
Calls {@native clSetUserEventStatus}.
Definition at line 65 of file CLUserEvent.java.