|
JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java (public API).
|
Utility for organizing multiple CLContexts.
More...
Public Member Functions | |
| void | release () |
| Releases all contexts. More... | |
| List< CLContext > | getContexts () |
| List< CLDevice > | getDevices () |
| Returns a list containing all devices used in this multi context. More... | |
| boolean | isReleased () |
Returns true if release() has been called. More... | |
| String | toString () |
| void | release () |
| Releases the OpenCL resource. More... | |
| boolean | isReleased () |
Returns true if release() has been called. More... | |
Static Public Member Functions | |
| static CLMultiContext | create (final CLPlatform... platforms) |
| Creates a multi context with all devices of the specified platforms. More... | |
| static CLMultiContext | create (final CLPlatform[] platforms, final CLDevice.Type... types) |
| Creates a multi context with all devices of the specified platforms and types. More... | |
| static CLMultiContext | create (final CLPlatform[] platforms, final Filter< CLDevice >... filters) |
| Creates a multi context with all matching devices of the specified platforms. More... | |
| static CLMultiContext | create (final Collection< CLDevice > devices) |
| Creates a multi context with the specified devices. More... | |
| static CLMultiContext | wrap (final CLContext... contexts) |
| Creates a multi context with specified contexts. More... | |
Utility for organizing multiple CLContexts.
Definition at line 25 of file CLMultiContext.java.
|
static |
Creates a multi context with all devices of the specified platforms.
Definition at line 37 of file CLMultiContext.java.
|
static |
Creates a multi context with all devices of the specified platforms and types.
Definition at line 45 of file CLMultiContext.java.
|
static |
Creates a multi context with all matching devices of the specified platforms.
Definition at line 53 of file CLMultiContext.java.
|
static |
Creates a multi context with the specified devices.
The devices don't have to be from the same platform.
Definition at line 72 of file CLMultiContext.java.
| List< CLContext > com.jogamp.opencl.util.CLMultiContext.getContexts | ( | ) |
| List< CLDevice > com.jogamp.opencl.util.CLMultiContext.getDevices | ( | ) |
Returns a list containing all devices used in this multi context.
Definition at line 157 of file CLMultiContext.java.
| boolean com.jogamp.opencl.util.CLMultiContext.isReleased | ( | ) |
Returns true if release() has been called.
Implements com.jogamp.opencl.CLResource.
Definition at line 165 of file CLMultiContext.java.
| void com.jogamp.opencl.util.CLMultiContext.release | ( | ) |
Releases all contexts.
Implements com.jogamp.opencl.CLResource.
Definition at line 139 of file CLMultiContext.java.
| String com.jogamp.opencl.util.CLMultiContext.toString | ( | ) |
|
static |
Creates a multi context with specified contexts.
Definition at line 97 of file CLMultiContext.java.