public static enum CLDevice.FPConfig extends Enum<CLDevice.FPConfig>
Enum Constant and Description |
---|
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 positive and negative infinity rounding modes supported.
|
ROUND_TO_NEAREST
round to nearest rounding mode supported.
|
ROUND_TO_ZERO
round to zero rounding mode supported.
|
Modifier and Type | Field and Description |
---|---|
int |
CONFIG
Value of wrapped OpenCL bitfield.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static EnumSet<CLDevice.FPConfig> valuesOf(int bitfield)