public static enum CLCommandQueue.Mode extends Enum<CLCommandQueue.Mode>
Enum Constant and Description |
---|
OUT_OF_ORDER_MODE
If set, the commands in the command-queue are
executed out-of-order.
|
PROFILING_MODE
Enables profiling of commands in the command-queue.
|
Modifier and Type | Field and Description |
---|---|
int |
QUEUE_MODE
Value of wrapped OpenCL device type.
|
Modifier and Type | Method and Description |
---|---|
static CLCommandQueue.Mode |
valueOf(int queueMode) |
static CLCommandQueue.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLCommandQueue.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static EnumSet<CLCommandQueue.Mode> |
valuesOf(long bitfield) |
public static final CLCommandQueue.Mode OUT_OF_ORDER_MODE
public static final CLCommandQueue.Mode PROFILING_MODE
CLEvent
for more information.public static CLCommandQueue.Mode[] values()
for (CLCommandQueue.Mode c : CLCommandQueue.Mode.values()) System.out.println(c);
public static CLCommandQueue.Mode 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 CLCommandQueue.Mode valueOf(int queueMode)
public static EnumSet<CLCommandQueue.Mode> valuesOf(long bitfield)