public static enum CLPlatform.DeviceFeature extends Enum<CLPlatform.DeviceFeature>
| Enum Constant and Description |
|---|
Accelerator
Prefer Accelerator devices (see
CLDevice.getType()) |
CPU
Prefer CPU devices (see
CLDevice.getType()) |
DoubleSupport
Prefer devices that support double-precision float computations (see
CLDevice.isDoubleSupported()) |
GPU
Prefer GPU devices (see
CLDevice.getType()) |
ImageSupport
Prefer devices that support images and with the most supported image formats (see
CLDevice.hasImageSupport()) |
MaxComputeUnits
Prefer devices with the most compute units (see
CLDevice.getMaxComputeUnits()) |
MostImageFormats
Prefer devices with the greatest variety of supported image formats (see
CLContext.getSupportedImageFormats(CLMem.Flags, CLMem.ObjectType)) |
NativeEndianness
Prefer devices with the same byte ordering as the hosting platform (see
CLDevice.getByteOrder()) |
OutOfOrderQueueSupport
Prefer devices that support out of order queues (see
CLDevice.hasOutOfOrderQueueSupport()) |
| Modifier and Type | Method and Description |
|---|---|
static CLPlatform.DeviceFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLPlatform.DeviceFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLPlatform.DeviceFeature CPU
CLDevice.getType())public static final CLPlatform.DeviceFeature GPU
CLDevice.getType())public static final CLPlatform.DeviceFeature Accelerator
CLDevice.getType())public static final CLPlatform.DeviceFeature MaxComputeUnits
CLDevice.getMaxComputeUnits())public static final CLPlatform.DeviceFeature NativeEndianness
CLDevice.getByteOrder())public static final CLPlatform.DeviceFeature DoubleSupport
CLDevice.isDoubleSupported())public static final CLPlatform.DeviceFeature ImageSupport
CLDevice.hasImageSupport())public static final CLPlatform.DeviceFeature OutOfOrderQueueSupport
CLDevice.hasOutOfOrderQueueSupport())public static final CLPlatform.DeviceFeature MostImageFormats
CLContext.getSupportedImageFormats(CLMem.Flags, CLMem.ObjectType))public static CLPlatform.DeviceFeature[] values()
for (CLPlatform.DeviceFeature c : CLPlatform.DeviceFeature.values()) System.out.println(c);
public static CLPlatform.DeviceFeature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2009-2015. All Rights Reserved.