1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

cmake: fix fp16 support

This commit is contained in:
Alexander Alekhin
2017-04-04 20:34:58 +03:00
parent d15d9f558d
commit e5d9b608c4
8 changed files with 17 additions and 53 deletions
+3 -3
View File
@@ -743,7 +743,7 @@ template<typename R> struct TheTest
TheTest & test_loadstore_fp16()
{
#if CV_FP16
#if CV_FP16 && CV_SIMD128
AlignedData<R> data;
AlignedData<R> out;
@@ -775,7 +775,7 @@ template<typename R> struct TheTest
TheTest & test_float_cvt_fp16()
{
#if CV_FP16
#if CV_FP16 && CV_SIMD128
AlignedData<v_float32x4> data;
if(checkHardwareSupport(CV_CPU_FP16))
@@ -1008,7 +1008,7 @@ TEST(hal_intrin, float64x2) {
}
#endif
#if CV_FP16
#if CV_FP16 && CV_SIMD128
TEST(hal_intrin, float16x4) {
TheTest<v_float16x4>()
.test_loadstore_fp16()