add multiruns to fix "unreliable results" error

This commit is contained in:
Sergei Nosov
2013-06-13 21:14:42 +04:00
parent 98f6a4a615
commit c90abb6a03
6 changed files with 14 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ PERF_TEST_P(Size_MatType_ThreshType, threshold,
declare.in(src, WARMUP_RNG).out(dst);
int runs = (sz.width <= 640) ? 8 : 1;
int runs = (sz.width <= 640) ? 40 : 1;
TEST_CYCLE_MULTIRUN(runs) threshold(src, dst, thresh, maxval, threshType);
SANITY_CHECK(dst);