removed gpu name usage from ocl module

This commit is contained in:
Vladislav Vinogradov 2013-07-22 15:31:14 +04:00
parent fc37df05ec
commit e12496d150
2 changed files with 4 additions and 5 deletions

View File

@ -23,12 +23,12 @@ 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);
EXPECT_MAT_NEAR(gpu_dst,cpu_dst, .5);
HuMoments(cpu_moments, cpu_dst);
HuMoments(gpu_moments, gpu_dst);
EXPECT_MAT_NEAR(gpu_dst, cpu_dst, .5);
}
};

View File

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