Skip to content

Commit

Permalink
let the performance test of split pass on 64bit ARM
Browse files Browse the repository at this point in the history
  * loosen the threshold only under aarch64
  * fix opencv#6610
  • Loading branch information
tomoaki0705 committed May 31, 2016
1 parent 4547427 commit 070e4d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/core/perf/perf_split.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Mat>&)mv);

#if defined (__aarch64__)
SANITY_CHECK(mv, 2e-5);
#else
SANITY_CHECK(mv, 1e-12);
#endif
}

0 comments on commit 070e4d7

Please sign in to comment.