public static enum CLDevice.Capabilities extends Enum<CLDevice.Capabilities>
Enum Constant and Description |
---|
EXEC_KERNEL
The OpenCL device can execute OpenCL kernels.
|
EXEC_NATIVE_KERNEL
The OpenCL device can execute native kernels.
|
Modifier and Type | Field and Description |
---|---|
int |
CAPS
Value of wrapped OpenCL device type.
|
Modifier and Type | Method and Description |
---|---|
static CLDevice.Capabilities |
valueOf(int caps) |
static CLDevice.Capabilities |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLDevice.Capabilities[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static EnumSet<CLDevice.Capabilities> |
valuesOf(int bitfield) |
public static final CLDevice.Capabilities EXEC_KERNEL
public static final CLDevice.Capabilities EXEC_NATIVE_KERNEL
public static CLDevice.Capabilities[] values()
for (CLDevice.Capabilities c : CLDevice.Capabilities.values()) System.out.println(c);
public static CLDevice.Capabilities 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 nullpublic static CLDevice.Capabilities valueOf(int caps)
public static EnumSet<CLDevice.Capabilities> valuesOf(int bitfield)