1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

test(hal): properly dispatch FP16 test

This commit is contained in:
Alexander Alekhin
2017-08-24 20:52:29 +00:00
parent 76f7fb5231
commit b18983a005
3 changed files with 31 additions and 14 deletions
+14 -1
View File
@@ -1,10 +1,17 @@
#include "test_precomp.hpp"
#include "test_intrin_utils.hpp"
#include <climits>
#include "test_intrin_utils.hpp"
#define CV_CPU_SIMD_FILENAME "test_intrin_utils.hpp"
#define CV_CPU_DISPATCH_MODE FP16
#include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp"
using namespace cv;
namespace cvtest { namespace hal {
using namespace CV_CPU_OPTIMIZATION_NAMESPACE;
//============= 8-bit integer =====================================================================
@@ -220,4 +227,10 @@ TEST(hal_intrin, float64x2) {
}
#endif
TEST(hal_intrin,float16x4)
{
CV_CPU_CALL_FP16(test_hal_intrin_float16x4, ());
throw SkipTestException("Unsupported hardware: FP16 is not available");
}
}}