Package com.jogamp.opencl
Enum CLEvent.ExecutionStatus
- java.lang.Object
-
- java.lang.Enum<CLEvent.ExecutionStatus>
-
- com.jogamp.opencl.CLEvent.ExecutionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<CLEvent.ExecutionStatus>
- Enclosing class:
- CLEvent
public static enum CLEvent.ExecutionStatus extends Enum<CLEvent.ExecutionStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
The command has completed.ERROR
The command did not complete because of an error.QUEUED
Command has been enqueued in the command-queue.RUNNING
Device is currently executing this command.SUBMITTED
Enqueued command has been submitted by the host to the device associated with the command-queue.
-
Field Summary
Fields Modifier and Type Field Description int
STATUS
Value of wrapped OpenCL command execution status.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLEvent.ExecutionStatus
valueOf(int status)
Returns the enum constant of this type with the specified name.static CLEvent.ExecutionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static CLEvent.ExecutionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final CLEvent.ExecutionStatus QUEUED
Command has been enqueued in the command-queue.
-
SUBMITTED
public static final CLEvent.ExecutionStatus SUBMITTED
Enqueued command has been submitted by the host to the device associated with the command-queue.
-
RUNNING
public static final CLEvent.ExecutionStatus RUNNING
Device is currently executing this command.
-
COMPLETE
public static final CLEvent.ExecutionStatus COMPLETE
The command has completed.
-
ERROR
public static final CLEvent.ExecutionStatus ERROR
The command did not complete because of an error.
-
-
Method Detail
-
values
public static CLEvent.ExecutionStatus[] 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 (CLEvent.ExecutionStatus c : CLEvent.ExecutionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CLEvent.ExecutionStatus 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 nameNullPointerException
- if the argument is null
-
valueOf
public static CLEvent.ExecutionStatus valueOf(int status)
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:
status
- 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 nameNullPointerException
- if the argument is null
-
-