Modifier and Type | Method and Description |
---|---|
static AccDevice |
getDevice(java.lang.String deviceName) |
void |
setDefaultVectorLength(int defaultVectorLength) |
void |
setUseReadOnlyDataCache(boolean useReadOnlyDataCache) |
static AccDevice |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccDevice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccDevice NVIDIA
public static final AccDevice PEZYSC
public static final AccDevice NONE
public static AccDevice[] values()
for (AccDevice c : AccDevice.values()) System.out.println(c);
public static AccDevice 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 AccDevice getDevice(java.lang.String deviceName)
public void setDefaultVectorLength(int defaultVectorLength)
public void setUseReadOnlyDataCache(boolean useReadOnlyDataCache)