public static enum CLEvent.ExecutionStatus extends Enum<CLEvent.ExecutionStatus>
Enum Constant and 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.
|
Modifier and Type | Field and Description |
---|---|
int |
STATUS
Value of wrapped OpenCL command execution status.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static CLEvent.ExecutionStatus valueOf(int status)