mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
fixed tests for aarch64
This commit is contained in:
@@ -33,5 +33,12 @@ PERF_TEST_P( Size_SrcDepth_DstChannels, merge,
|
||||
int runs = (sz.width <= 640) ? 8 : 1;
|
||||
TEST_CYCLE_MULTIRUN(runs) merge( (vector<Mat> &)mv, dst );
|
||||
|
||||
#ifdef __aarch64__
|
||||
// looks like random generator produces a little bit
|
||||
// different source data on aarch64 platform and
|
||||
// eps should be increased to allow the tests pass
|
||||
SANITY_CHECK(dst, (srcDepth == CV_32F ? 1.55e-5 : 1e-12));
|
||||
#else
|
||||
SANITY_CHECK(dst, 1e-12);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user