Top Description Constructors Methods
com.jogamp.opencl.util

public Class CLDeviceFilters

extends Object
Class Inheritance
Imports
com.jogamp.opencl.CLCommandQueue.Mode, .CLDevice, java.nio.ByteOrder, java.util.Arrays, .EnumSet, .List

Pre-defined filters.
Author
Michael Bien
See Also
com.jogamp.opencl.CLPlatform#listCLDevices(com.jogamp.opencl.util.Filter[]), com.jogamp.opencl.CLPlatform#getMaxFlopsDevice(com.jogamp.opencl.util.Filter[])

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Filter<CLDevice>
byteOrder(final ByteOrder order)

Accepts all devices of the given ByteOrder.

public static Filter<CLDevice>
extension(final String... extensions)

Accepts all devices supporting the given extensions.

public static Filter<CLDevice>
glSharing()

Accepts all devices which support OpenGL-OpenCL interoperability.

public static Filter<CLDevice>
queueMode(final CLCommandQueue.Mode... modes)

Accepts all devices supporting the specified command queue modes.

public static Filter<CLDevice>
type(final CLDevice.Type... types)

Accepts all devices of the given type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CLDeviceFiltersback to summary
public CLDeviceFilters()

Method Detail

byteOrderback to summary
public static Filter<CLDevice> byteOrder(final ByteOrder order)

Accepts all devices of the given ByteOrder.

extensionback to summary
public static Filter<CLDevice> extension(final String... extensions)

Accepts all devices supporting the given extensions.

glSharingback to summary
public static Filter<CLDevice> glSharing()

Accepts all devices which support OpenGL-OpenCL interoperability.

queueModeback to summary
public static Filter<CLDevice> queueMode(final CLCommandQueue.Mode... modes)

Accepts all devices supporting the specified command queue modes.

typeback to summary
public static Filter<CLDevice> type(final CLDevice.Type... types)

Accepts all devices of the given type.