ocl: perf tests: skip tests if we fail check for maxMemoryAllocSize

This commit is contained in:
Alexander Alekhin
2013-11-12 18:59:43 +04:00
parent f1873bbca1
commit fb326a58fc
7 changed files with 69 additions and 8 deletions

View File

@@ -1066,6 +1066,9 @@ PERF_TEST_P(RepeatFixture, Repeat,
const int nx = 3, ny = 2;
const Size dstSize(srcSize.width * nx, srcSize.height * ny);
checkDeviceMaxMemoryAllocSize(srcSize, type);
checkDeviceMaxMemoryAllocSize(dstSize, type);
Mat src(srcSize, type), dst(dstSize, type);
declare.in(src, WARMUP_RNG).out(dst);