public enum OpenAccExecutionMode extends java.lang.Enum<OpenAccExecutionMode>
Enum Constant and Description |
---|
GANG |
GANG_VECTOR |
NONE |
VECTOR |
VECTOR_GANG |
Modifier and Type | Method and Description |
---|---|
static OpenAccExecutionMode |
fromString(java.lang.String value)
Get enum value from a string.
|
java.lang.String |
getFormattedExecutionMode()
Get string version of the execution mode.
|
static OpenAccExecutionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpenAccExecutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenAccExecutionMode NONE
public static final OpenAccExecutionMode VECTOR
public static final OpenAccExecutionMode GANG
public static final OpenAccExecutionMode VECTOR_GANG
public static final OpenAccExecutionMode GANG_VECTOR
public static OpenAccExecutionMode[] values()
for (OpenAccExecutionMode c : OpenAccExecutionMode.values()) System.out.println(c);
public static OpenAccExecutionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static OpenAccExecutionMode fromString(java.lang.String value)
value
- Code value for the enumeration.public java.lang.String getFormattedExecutionMode()