Commit e12496d1 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

removed gpu name usage from ocl module

parent fc37df05
......@@ -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);
}
};
......
......@@ -43,7 +43,6 @@
#define VARNAME(A) #A
using namespace std;
using namespace cv;
using namespace cv::gpu;
using namespace cvtest;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment