Package | Description |
---|---|
com.jogamp.opencl |
High level java bindings to OpenCL.
|
com.jogamp.opencl.gl |
High level java bindings, OpenCL-OpenGL interoperability.
|
com.jogamp.opencl.util |
OpenCL utilities.
|
Modifier and Type | Method and Description |
---|---|
CLDevice.Type |
CLDevice.getType()
Returns the type of this device.
|
static CLDevice.Type |
CLDevice.Type.valueOf(long clDeviceType) |
static CLDevice.Type |
CLDevice.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLDevice.Type[] |
CLDevice.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static CLContext |
CLContext.create(CLDevice.Type... deviceTypes)
Creates a context on the specified device types.
|
static CLContext |
CLContext.create(CLPlatform platform,
CLDevice.Type... deviceTypes)
Creates a context on the specified platform and with the specified
device types.
|
CLDevice |
CLPlatform.getMaxFlopsDevice(CLDevice.Type... types)
Returns the device with maximal FLOPS and the specified type from this platform.
|
CLDevice |
CLContext.getMaxFlopsDevice(CLDevice.Type type)
Returns the device with maximal FLOPS of the specified device type from this context.
|
CLDevice[] |
CLPlatform.listCLDevices(CLDevice.Type... types)
Lists all physical devices available on this platform matching the given
CLDevice.Type . |
protected static long |
CLContext.toDeviceBitmap(CLDevice.Type[] deviceTypes) |
Modifier and Type | Method and Description |
---|---|
static CLGLContext |
CLGLContext.create(GLContext glContext,
CLDevice.Type... deviceTypes)
Creates a shared context on the specified platform and with the specified
device types.
|
static CLGLContext |
CLGLContext.create(GLContext glContext,
CLPlatform platform,
CLDevice.Type... deviceTypes)
Creates a shared context on the specified platform and with the specified
device types.
|
Modifier and Type | Method and Description |
---|---|
static CLMultiContext |
CLMultiContext.create(CLPlatform[] platforms,
CLDevice.Type... types)
Creates a multi context with all devices of the specified platforms and types.
|
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.
|