|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CLDevice.FPConfig>
com.jogamp.opencl.CLDevice.FPConfig
public static enum CLDevice.FPConfig
Describes floating-point capability of the device. Zero or more values are possible.
Enum Constant Summary | |
---|---|
DENORM
denorms are supported. |
|
FMA
IEEE754-2008 fused multiply-add is supported. |
|
INF_NAN
INF and quiet NaNs are supported. |
|
ROUND_TO_INF
round to +ve and –ve infinity rounding modes supported. |
|
ROUND_TO_NEAREST
round to nearest rounding mode supported. |
|
ROUND_TO_ZERO
round to zero rounding mode supported. |
Field Summary | |
---|---|
int |
CONFIG
Value of wrapped OpenCL bitfield. |
Method Summary | |
---|---|
static CLDevice.FPConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CLDevice.FPConfig[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
static EnumSet<CLDevice.FPConfig> |
valuesOf(int bitfield)
Returns a EnumSet for the given bitfield. |
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 CLDevice.FPConfig DENORM
public static final CLDevice.FPConfig INF_NAN
public static final CLDevice.FPConfig ROUND_TO_NEAREST
public static final CLDevice.FPConfig ROUND_TO_INF
public static final CLDevice.FPConfig ROUND_TO_ZERO
public static final CLDevice.FPConfig FMA
Field Detail |
---|
public final int CONFIG
Method Detail |
---|
public static CLDevice.FPConfig[] values()
for (CLDevice.FPConfig c : CLDevice.FPConfig.values()) System.out.println(c);
public static CLDevice.FPConfig 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 EnumSet<CLDevice.FPConfig> valuesOf(int bitfield)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |