com.jogamp.opencl.util
Class CLPlatformFilters

java.lang.Object
  extended by com.jogamp.opencl.util.CLPlatformFilters

public class CLPlatformFilters
extends Object

Pre-defined filters.

Author:
Michael Bien
See Also:
CLPlatform.getDefault(com.jogamp.opencl.util.Filter[]), CLPlatform.listCLPlatforms(com.jogamp.opencl.util.Filter[])

Constructor Summary
CLPlatformFilters()
           
 
Method Summary
static Filter<CLPlatform> extensions(String... extensions)
          Accepts all platforms containing devices of the given extensions.
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLPlatformFilters

public CLPlatformFilters()
Method Detail

version

public static Filter<CLPlatform> version(CLVersion version)
Accepts all platforms supporting at least the given OpenCL spec version.


type

public static Filter<CLPlatform> type(CLDevice.Type type)
Accepts all platforms containing devices of the given type.


extensions

public static Filter<CLPlatform> extensions(String... extensions)
Accepts all platforms containing devices of the given extensions.