Package | Description |
---|---|
com.jogamp.opencl |
High level java bindings to OpenCL.
|
com.jogamp.opencl.util |
OpenCL utilities.
|
Modifier and Type | Method and Description |
---|---|
static CLPlatform |
CLPlatform.getDefault(Filter<CLPlatform>... filter)
Returns the default OpenCL platform or null when no platform found.
|
CLDevice |
CLPlatform.getMaxFlopsDevice(Filter<CLDevice>... filter)
Returns the device with maximal FLOPS and the specified type from this platform.
|
CLDevice[] |
CLPlatform.listCLDevices(Filter<CLDevice>... filters)
Lists all physical devices available on this platform matching the given
Filter . |
static CLPlatform[] |
CLPlatform.listCLPlatforms(Filter<CLPlatform>... filter)
Lists all available OpenCL implementations.
|
Modifier and Type | Method and Description |
---|---|
static Filter<CLDevice> |
CLDeviceFilters.byteOrder(ByteOrder order)
Accepts all devices of the given
ByteOrder . |
static Filter<CLDevice> |
CLDeviceFilters.extension(String... extensions)
Accepts all devices supporting the given extensions.
|
static Filter<CLPlatform> |
CLPlatformFilters.extension(String... extensions)
Accepts all platforms supporting the given extensions.
|
static Filter<CLDevice> |
CLDeviceFilters.glSharing()
Accepts all devices which support OpenGL-OpenCL interoparability.
|
static Filter<CLPlatform> |
CLPlatformFilters.glSharing()
Accepts all platforms containing at least one devices of which supports OpenGL-OpenCL interoparability.
|
static Filter<CLPlatform> |
CLPlatformFilters.glSharing(GLContext context)
Accepts all with the given OpenGL context compatible platforms containing at least one
devices of which supports OpenGL-OpenCL interoparability.
|
static Filter<CLDevice> |
CLDeviceFilters.queueMode(CLCommandQueue.Mode... modes)
Accepts all devices supporting the specified command queue modes.
|
static Filter<CLPlatform> |
CLPlatformFilters.queueMode(CLCommandQueue.Mode... modes)
Accepts all platforms containing at least one devices supporting the specified command queue modes.
|
static Filter<CLDevice> |
CLDeviceFilters.type(CLDevice.Type... types)
Accepts all devices of the given type.
|
static Filter<CLPlatform> |
CLPlatformFilters.type(CLDevice.Type type)
Accepts all platforms containing devices of the given type.
|
static Filter<CLPlatform> |
CLPlatformFilters.version(CLVersion version)
Accepts all platforms supporting at least the given OpenCL spec version.
|
Modifier and Type | Method and Description |
---|---|
static CLMultiContext |
CLMultiContext.create(CLPlatform[] platforms,
Filter<CLDevice>... filters)
Creates a multi context with all matching devices of the specified platforms.
|