com.jogamp.opencl.util
Class CLDeviceFilters

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

public class CLDeviceFilters
extends Object

Pre-defined filters.

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

Constructor Summary
CLDeviceFilters()
           
 
Method Summary
static Filter<CLDevice> byteOrder(ByteOrder order)
          Accepts all devices of the given ByteOrder.
static Filter<CLDevice> extension(String... extensions)
          Accepts all devices supporting the given extensions.
static Filter<CLDevice> glSharing()
          Accepts all devices which support OpenGL-OpenCL interoparability.
static Filter<CLDevice> queueMode(CLCommandQueue.Mode... modes)
          Accepts all devices supporting the specified command queue modes.
static Filter<CLDevice> type(CLDevice.Type... types)
          Accepts all devices of the given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLDeviceFilters

public CLDeviceFilters()
Method Detail

type

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


byteOrder

public static Filter<CLDevice> byteOrder(ByteOrder order)
Accepts all devices of the given ByteOrder.


glSharing

public static Filter<CLDevice> glSharing()
Accepts all devices which support OpenGL-OpenCL interoparability.


extension

public static Filter<CLDevice> extension(String... extensions)
Accepts all devices supporting the given extensions.


queueMode

public static Filter<CLDevice> queueMode(CLCommandQueue.Mode... modes)
Accepts all devices supporting the specified command queue modes.