Enum CLDevice.FPConfig

    • Enum Constant Detail

      • INF_NAN

        public static final CLDevice.FPConfig INF_NAN
        INF and quiet NaNs are supported.
      • ROUND_TO_NEAREST

        public static final CLDevice.FPConfig ROUND_TO_NEAREST
        round to nearest rounding mode supported.
      • ROUND_TO_INF

        public static final CLDevice.FPConfig ROUND_TO_INF
        round to positive and negative infinity rounding modes supported.
      • ROUND_TO_ZERO

        public static final CLDevice.FPConfig ROUND_TO_ZERO
        round to zero rounding mode supported.
      • FMA

        public static final CLDevice.FPConfig FMA
        IEEE754-2008 fused multiply-add is supported.
    • Field Detail

      • CONFIG

        public final int CONFIG
        Value of wrapped OpenCL bitfield.
    • Method Detail

      • values

        public static CLDevice.FPConfig[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CLDevice.FPConfig c : CLDevice.FPConfig.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CLDevice.FPConfig valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • valuesOf

        public static EnumSet<CLDevice.FPConfig> valuesOf​(int bitfield)
        Returns a EnumSet for the given bitfield.