public class CLPlatformFilters extends Object
CLPlatform.getDefault(com.jogamp.opencl.util.Filter[])
,
CLPlatform.listCLPlatforms(com.jogamp.opencl.util.Filter[])
Constructor and Description |
---|
CLPlatformFilters() |
Modifier and Type | Method and Description |
---|---|
static Filter<CLPlatform> |
extension(String... extensions)
Accepts all platforms supporting the given extensions.
|
static Filter<CLPlatform> |
glSharing()
Accepts all platforms containing at least one devices of which supports OpenGL-OpenCL interoperability.
|
static Filter<CLPlatform> |
glSharing(GLContext context)
Accepts all with the given OpenGL context compatible platforms containing at least one
devices of which supports OpenGL-OpenCL interoperability.
|
static Filter<CLPlatform> |
queueMode(CLCommandQueue.Mode... modes)
Accepts all platforms containing at least one devices supporting the specified command queue modes.
|
static Filter<CLPlatform> |
type(CLDevice.Type type)
Accepts all platforms containing devices of the given type.
|
static Filter<CLPlatform> |
version(CLVersion version)
Accepts all platforms supporting at least the given OpenCL spec version.
|
public static Filter<CLPlatform> version(CLVersion version)
public static Filter<CLPlatform> type(CLDevice.Type type)
public static Filter<CLPlatform> glSharing()
public static Filter<CLPlatform> glSharing(GLContext context)
public static Filter<CLPlatform> extension(String... extensions)
public static Filter<CLPlatform> queueMode(CLCommandQueue.Mode... modes)