removed gpu name usage from ocl module

pull/1299/head
Vladislav Vinogradov 11 years ago
parent fc37df05ec
commit e12496d150
  1. 6
      modules/ocl/test/test_moments.cpp
  2. 1
      modules/ocl/test/utility.cpp

@ -23,11 +23,11 @@ PARAM_TEST_CASE(MomentsTest, MatType, bool)
mat1 = randomMat(rng, size, type, 5, 16, false);
}
void Compare(Moments& cpu, Moments& gpu)
void Compare(Moments& cpu_moments, Moments& gpu_moments)
{
Mat gpu_dst, cpu_dst;
HuMoments(cpu, cpu_dst);
HuMoments(gpu, gpu_dst);
HuMoments(cpu_moments, cpu_dst);
HuMoments(gpu_moments, gpu_dst);
EXPECT_MAT_NEAR(gpu_dst, cpu_dst, .5);
}

@ -43,7 +43,6 @@
#define VARNAME(A) #A
using namespace std;
using namespace cv;
using namespace cv::gpu;
using namespace cvtest;

Loading…
Cancel
Save