• Tomoaki Teshima's avatar
    check FP16 build condition correctly · c7cb116d
    Tomoaki Teshima authored
      * use __GNUC_MINOR__ in correct place to check the version of GCC
      * check processor support of FP16 at run time
      * check compiler support of FP16 and pass correct compiler option
      * rely on ENABLE_AVX on gcc since AVX is generated when mf16c is passed
      * guard correctly using ifdef in case of various configuration
      * use v_float16x4 correctly by including the right header file
    c7cb116d
OpenCVCompilerOptions.cmake 15.5 KB