fixed ocl::integral and enabled perf test for it

This commit is contained in:
Ilya Lavrenov
2013-10-03 19:17:54 +04:00
parent 8224f9843e
commit 10d60f99dc
4 changed files with 84 additions and 80 deletions
+13 -1
View File
@@ -579,7 +579,19 @@ TEST_P(cornerHarris, Mat)
struct integral : ImgprocTestBase {};
TEST_P(integral, Mat)
TEST_P(integral, Mat1)
{
for(int j = 0; j < LOOP_TIMES; j++)
{
random_roi();
cv::ocl::integral(clmat1_roi, cldst_roi);
cv::integral(mat1_roi, dst_roi);
Near(0);
}
}
TEST_P(integral, Mat2)
{
for(int j = 0; j < LOOP_TIMES; j++)
{