com.jogamp.opencl
Enum CLCommandQueue.Mode

java.lang.Object
  extended by java.lang.Enum<CLCommandQueue.Mode>
      extended by com.jogamp.opencl.CLCommandQueue.Mode
All Implemented Interfaces:
Serializable, Comparable<CLCommandQueue.Mode>
Enclosing class:
CLCommandQueue

public static enum CLCommandQueue.Mode
extends Enum<CLCommandQueue.Mode>

Enumeration for the command-queue settings.


Enum Constant Summary
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.
 
Field Summary
 int QUEUE_MODE
          Value of wrapped OpenCL device type.
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OUT_OF_ORDER_MODE

public static final CLCommandQueue.Mode OUT_OF_ORDER_MODE
If set, the commands in the command-queue are executed out-of-order. Otherwise, commands are executed in-order.


PROFILING_MODE

public static final CLCommandQueue.Mode PROFILING_MODE
Enables profiling of commands in the command-queue. If set, the profiling of commands is enabled. Otherwise profiling of commands is disabled. See CLEvent for more information.

Field Detail

QUEUE_MODE

public final int QUEUE_MODE
Value of wrapped OpenCL device type.

Method Detail

values

public static CLCommandQueue.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CLCommandQueue.Mode c : CLCommandQueue.Mode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CLCommandQueue.Mode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

valueOf

public static CLCommandQueue.Mode valueOf(int queueMode)

valuesOf

public static EnumSet<CLCommandQueue.Mode> valuesOf(long bitfield)