Enum CLCommandQueue.Mode

    • 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)
        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:
        queueMode - 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