public static enum CLProgram.Status extends Enum<CLProgram.Status>
Enum Constant and Description |
---|
BUILD_ERROR |
BUILD_IN_PROGRESS |
BUILD_NONE |
BUILD_SUCCESS |
Modifier and Type | Field and Description |
---|---|
int |
STATUS
Value of wrapped OpenCL device type.
|
Modifier and Type | Method and Description |
---|---|
static CLProgram.Status |
valueOf(int clBuildStatus) |
static CLProgram.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLProgram.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLProgram.Status BUILD_SUCCESS
public static final CLProgram.Status BUILD_NONE
public static final CLProgram.Status BUILD_IN_PROGRESS
public static final CLProgram.Status BUILD_ERROR
public static CLProgram.Status[] values()
for (CLProgram.Status c : CLProgram.Status.values()) System.out.println(c);
public static CLProgram.Status 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 CLProgram.Status valueOf(int clBuildStatus)