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 | Field and Description |
---|---|
protected CLPlatform |
CLContext.platform |
Modifier and Type | Method and Description |
---|---|
static CLPlatform |
CLPlatform.getDefault()
Returns the default OpenCL platform or null when no platform found.
|
static CLPlatform |
CLPlatform.getDefault(Filter<CLPlatform>... filter)
Returns the default OpenCL platform or null when no platform found.
|
CLPlatform |
CLContext.getPlatform()
Returns the CLPlatform this context is running on.
|
CLPlatform |
CLDevice.getPlatform() |
CLPlatform |
CLObject.getPlatform()
Returns the platform for this OpenCL object.
|
static CLPlatform[] |
CLPlatform.listCLPlatforms()
Lists all available OpenCL implementations.
|
static CLPlatform[] |
CLPlatform.listCLPlatforms(Filter<CLPlatform>... filter)
Lists all available OpenCL implementations.
|
Modifier and Type | Method and Description |
---|---|
static CLContext |
CLContext.create(CLPlatform platform)
Creates a context on the specified platform on all available devices (CL_DEVICE_TYPE_ALL).
|
static CLContext |
CLContext.create(CLPlatform platform,
CLDevice.Type... deviceTypes)
Creates a context on the specified platform and with the specified
device types.
|
protected static long |
CLContext.createContext(CLPlatform platform,
CLErrorHandler handler,
PointerBuffer properties,
CLDevice... devices) |
protected static long |
CLContext.createContextFromType(CLPlatform platform,
CLErrorHandler handler,
PointerBuffer properties,
long deviceType) |
Constructor and Description |
---|
CLContext(CLPlatform platform,
long contextID,
CLContext.ErrorDispatcher dispatcher) |
CLDevice(CLPlatform platform,
long id) |
Modifier and Type | Method and Description |
---|---|
static CLGLContext |
CLGLContext.create(GLContext glContext,
CLPlatform platform)
Creates a shared context on the specified platform on all available devices (CL_DEVICE_TYPE_ALL).
|
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 Filter<CLPlatform> |
CLPlatformFilters.extension(String... extensions)
Accepts all platforms supporting the given extensions.
|
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<CLPlatform> |
CLPlatformFilters.queueMode(CLCommandQueue.Mode... modes)
Accepts all platforms containing at least one devices supporting the specified command queue modes.
|
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)
Creates a multi context with all devices of the specified platforms.
|
static CLMultiContext |
CLMultiContext.create(CLPlatform[] platforms,
CLDevice.Type... types)
Creates a multi context with all devices of the specified platforms and types.
|
static CLMultiContext |
CLMultiContext.create(CLPlatform[] platforms,
Filter<CLDevice>... filters)
Creates a multi context with all matching devices of the specified platforms.
|
static Map<String,String> |
CLUtil.obtainPlatformProperties(CLPlatform platform)
Reads all platform properties and returns them as key-value map.
|