1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

test: fix cuda build

This commit is contained in:
Alexander Alekhin
2016-11-28 23:56:58 +03:00
parent 2c03c8d71f
commit 4a7d441b37
10 changed files with 41 additions and 1 deletions
+4
View File
@@ -55,6 +55,8 @@ namespace
IMPLEMENT_PARAM_CLASS(L2gradient, bool)
}
namespace {
PARAM_TEST_CASE(Canny, cv::cuda::DeviceInfo, AppertureSize, L2gradient, UseRoi)
{
cv::cuda::DeviceInfo devInfo;
@@ -98,4 +100,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_ImgProc, Canny, testing::Combine(
testing::Values(L2gradient(false), L2gradient(true)),
WHOLE_SUBMAT));
} // namespace
#endif // HAVE_CUDA
@@ -46,6 +46,8 @@
using namespace cvtest;
namespace {
///////////////////////////////////////////////////////////////////////////////////////////////////////
// HistEven
@@ -212,4 +214,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_ImgProc, CLAHE, testing::Combine(
DIFFERENT_SIZES,
testing::Values(0.0, 40.0)));
} // namespace
#endif // HAVE_CUDA
+4
View File
@@ -46,6 +46,8 @@
using namespace cvtest;
namespace {
///////////////////////////////////////////////////////////////////////////////////////////////////////
// HoughLines
@@ -256,4 +258,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_ImgProc, GeneralizedHough, testing::Combine(
ALL_DEVICES,
WHOLE_SUBMAT));
} // namespace
#endif // HAVE_CUDA