public class CLDeviceFilters extends Object
CLPlatform.listCLDevices(com.jogamp.opencl.util.Filter[])
,
CLPlatform.getMaxFlopsDevice(com.jogamp.opencl.util.Filter[])
Constructor and Description |
---|
CLDeviceFilters() |
Modifier and Type | Method and Description |
---|---|
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 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.
|
public static Filter<CLDevice> type(CLDevice.Type... types)
public static Filter<CLDevice> byteOrder(ByteOrder order)
ByteOrder
.public static Filter<CLDevice> glSharing()
public static Filter<CLDevice> extension(String... extensions)
public static Filter<CLDevice> queueMode(CLCommandQueue.Mode... modes)