From 070e4d754e916b23994b99a56f2e46b9e8651523 Mon Sep 17 00:00:00 2001 From: Tomoaki Teshima Date: Tue, 31 May 2016 23:57:49 +0900 Subject: [PATCH] let the performance test of split pass on 64bit ARM * loosen the threshold only under aarch64 * fix #6610 --- modules/core/perf/perf_split.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/core/perf/perf_split.cpp b/modules/core/perf/perf_split.cpp index df9095fc61..553fe6f6f8 100644 --- a/modules/core/perf/perf_split.cpp +++ b/modules/core/perf/perf_split.cpp @@ -29,5 +29,9 @@ PERF_TEST_P( Size_Depth_Channels, split, int runs = (sz.width <= 640) ? 8 : 1; TEST_CYCLE_MULTIRUN(runs) split(m, (vector&)mv); +#if defined (__aarch64__) + SANITY_CHECK(mv, 2e-5); +#else SANITY_CHECK(mv, 1e-12); +#endif }