|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CLEvent.ExecutionStatus>
com.jogamp.opencl.CLEvent.ExecutionStatus
public static enum CLEvent.ExecutionStatus
Enum Constant Summary | |
---|---|
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 | |
---|---|
int |
STATUS
Value of wrapped OpenCL command execution status. |
Method Summary | |
---|---|
static CLEvent.ExecutionStatus |
valueOf(int status)
|
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. |
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 |
---|
public static final CLEvent.ExecutionStatus QUEUED
public static final CLEvent.ExecutionStatus SUBMITTED
public static final CLEvent.ExecutionStatus RUNNING
public static final CLEvent.ExecutionStatus COMPLETE
public static final CLEvent.ExecutionStatus ERROR
Field Detail |
---|
public final int STATUS
Method Detail |
---|
public static CLEvent.ExecutionStatus[] values()
for (CLEvent.ExecutionStatus c : CLEvent.ExecutionStatus.values()) System.out.println(c);
public static CLEvent.ExecutionStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static CLEvent.ExecutionStatus valueOf(int status)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |