|
JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java (public API).
|
Fixed size list for storing CLEvents. More...
Public Member Functions | |
| CLEventList (final int capacity) | |
| CLEventList (final CLEvent... events) | |
| CLEventList (final CachedBufferFactory factory, final int capacity) | |
| CLEventList (final CachedBufferFactory factory, final CLEvent... events) | |
| void | waitForEvents () |
| Waits for all events in this list to occur. More... | |
| void | waitForEvents (final int start, final int range) |
| Waits for all events of the specified region in this list to occur. More... | |
| void | waitForEvent (final int index) |
| Waits for the event with the given index in this list to occur. More... | |
| void | release () |
| Releases all CLEvents in this list. More... | |
| final void | close () |
| CLEvent | getEvent (final int index) |
| int | size () |
| Returns the current size of this list. More... | |
| int | capacity () |
| Returns the maximum size of this list. More... | |
| boolean | isReleased () |
Returns true if release() has been called. More... | |
| Iterator< CLEvent > | iterator () |
| String | toString () |
| void | release () |
| Releases the OpenCL resource. More... | |
| boolean | isReleased () |
Returns true if release() has been called. More... | |
| void | close () |
Fixed size list for storing CLEvents.
Definition at line 40 of file CLEventList.java.
| com.jogamp.opencl.CLEventList.CLEventList | ( | final int | capacity | ) |
| com.jogamp.opencl.CLEventList.CLEventList | ( | final CLEvent... | events | ) |
Definition at line 60 of file CLEventList.java.
| com.jogamp.opencl.CLEventList.CLEventList | ( | final CachedBufferFactory | factory, |
| final int | capacity | ||
| ) |
| com.jogamp.opencl.CLEventList.CLEventList | ( | final CachedBufferFactory | factory, |
| final CLEvent... | events | ||
| ) |
Definition at line 70 of file CLEventList.java.
| int com.jogamp.opencl.CLEventList.capacity | ( | ) |
Returns the maximum size of this list.
Definition at line 175 of file CLEventList.java.
| final void com.jogamp.opencl.CLEventList.close | ( | ) |
release() instead. Implements com.jogamp.opencl.AutoCloseable.
Definition at line 155 of file CLEventList.java.
| CLEvent com.jogamp.opencl.CLEventList.getEvent | ( | final int | index | ) |
| boolean com.jogamp.opencl.CLEventList.isReleased | ( | ) |
Returns true if release() has been called.
Implements com.jogamp.opencl.CLResource.
Definition at line 180 of file CLEventList.java.
| Iterator< CLEvent > com.jogamp.opencl.CLEventList.iterator | ( | ) |
Definition at line 185 of file CLEventList.java.
| void com.jogamp.opencl.CLEventList.release | ( | ) |
Releases all CLEvents in this list.
Implements com.jogamp.opencl.CLResource.
Definition at line 141 of file CLEventList.java.
| int com.jogamp.opencl.CLEventList.size | ( | ) |
Returns the current size of this list.
Definition at line 168 of file CLEventList.java.
| String com.jogamp.opencl.CLEventList.toString | ( | ) |
Definition at line 190 of file CLEventList.java.
| void com.jogamp.opencl.CLEventList.waitForEvent | ( | final int | index | ) |
Waits for the event with the given index in this list to occur.
Definition at line 132 of file CLEventList.java.
| void com.jogamp.opencl.CLEventList.waitForEvents | ( | ) |
Waits for all events in this list to occur.
If this list is empty this method won't do anything.
Definition at line 110 of file CLEventList.java.
| void com.jogamp.opencl.CLEventList.waitForEvents | ( | final int | start, |
| final int | range | ||
| ) |
Waits for all events of the specified region in this list to occur.
Will throw IndexOutOfBoundsException if indices are out of bounds.
Definition at line 120 of file CLEventList.java.