let the performance test of split pass on 64bit ARM

* loosen the threshold only under aarch64
  * fix #6610
pull/6611/head
Tomoaki Teshima 9 years ago
parent 4547427946
commit 070e4d754e
  1. 4
      modules/core/perf/perf_split.cpp

@ -29,5 +29,9 @@ PERF_TEST_P( Size_Depth_Channels, split,
int runs = (sz.width <= 640) ? 8 : 1; int runs = (sz.width <= 640) ? 8 : 1;
TEST_CYCLE_MULTIRUN(runs) split(m, (vector<Mat>&)mv); TEST_CYCLE_MULTIRUN(runs) split(m, (vector<Mat>&)mv);
#if defined (__aarch64__)
SANITY_CHECK(mv, 2e-5);
#else
SANITY_CHECK(mv, 1e-12); SANITY_CHECK(mv, 1e-12);
#endif
} }

Loading…
Cancel
Save