Package com.jogamp.opencl.util
Class CLDeviceFilters
- java.lang.Object
-
- 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
Constructors Constructor Description CLDeviceFilters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Filter<CLDevice>byteOrder(ByteOrder order)Accepts all devices of the givenByteOrder.static Filter<CLDevice>extension(String... extensions)Accepts all devices supporting the given extensions.static Filter<CLDevice>glSharing()Accepts all devices which support OpenGL-OpenCL interoperability.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.
-
-
-
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 givenByteOrder.
-
glSharing
public static Filter<CLDevice> glSharing()
Accepts all devices which support OpenGL-OpenCL interoperability.
-
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.
-
-