let the performance test of split pass on 64bit ARM

* loosen the threshold only under aarch64
  * fix #6610
This commit is contained in:
Tomoaki Teshima 2016-05-31 23:57:49 +09:00
parent 4547427946
commit 070e4d754e

View File

@ -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
} }