Fix perf build with CUDA 9.

pull/10637/head
catree 7 years ago
parent 8226bd25c4
commit dcc5a2cb22
  1. 2
      modules/cudaarithm/perf/perf_core.cpp
  2. 4
      modules/cudaarithm/perf/perf_element_operations.cpp
  3. 4
      modules/cudaarithm/perf/perf_reductions.cpp
  4. 2
      modules/cudaimgproc/perf/perf_blend.cpp
  5. 2
      modules/cudaimgproc/perf/perf_histogram.cpp
  6. 2
      modules/cudastereo/perf/perf_stereo.cpp
  7. 2
      modules/cudawarping/perf/perf_warping.cpp

@ -51,6 +51,8 @@ using namespace perf;
//////////////////////////////////////////////////////////////////////
// Merge
DEF_PARAM_TEST(Sz_Depth_Cn, cv::Size, MatDepth, MatCn);
PERF_TEST_P(Sz_Depth_Cn, Merge,
Combine(CUDA_TYPICAL_MAT_SIZES,
ARITHM_MAT_DEPTH,

@ -51,6 +51,8 @@ using namespace perf;
//////////////////////////////////////////////////////////////////////
// AddMat
DEF_PARAM_TEST(Sz_Depth, cv::Size, MatDepth);
PERF_TEST_P(Sz_Depth, AddMat,
Combine(CUDA_TYPICAL_MAT_SIZES,
ARITHM_MAT_DEPTH))
@ -776,6 +778,8 @@ PERF_TEST_P(Sz_Depth, BitwiseAndMat,
//////////////////////////////////////////////////////////////////////
// BitwiseAndScalar
DEF_PARAM_TEST(Sz_Depth_Cn, cv::Size, MatDepth, MatCn);
PERF_TEST_P(Sz_Depth_Cn, BitwiseAndScalar,
Combine(CUDA_TYPICAL_MAT_SIZES,
Values(CV_8U, CV_16U, CV_32S),

@ -128,6 +128,8 @@ PERF_TEST_P(Sz_Norm, NormDiff,
//////////////////////////////////////////////////////////////////////
// Sum
DEF_PARAM_TEST(Sz_Depth_Cn, cv::Size, MatDepth, MatCn);
PERF_TEST_P(Sz_Depth_Cn, Sum,
Combine(CUDA_TYPICAL_MAT_SIZES,
Values(CV_8U, CV_16U, CV_32F),
@ -228,6 +230,8 @@ PERF_TEST_P(Sz_Depth_Cn, SumSqr,
//////////////////////////////////////////////////////////////////////
// MinMax
DEF_PARAM_TEST(Sz_Depth, cv::Size, MatDepth);
PERF_TEST_P(Sz_Depth, MinMax,
Combine(CUDA_TYPICAL_MAT_SIZES,
Values(CV_8U, CV_16U, CV_32F, CV_64F)))

@ -49,6 +49,8 @@ using namespace perf;
//////////////////////////////////////////////////////////////////////
// BlendLinear
DEF_PARAM_TEST(Sz_Depth_Cn, cv::Size, MatDepth, MatCn);
PERF_TEST_P(Sz_Depth_Cn, BlendLinear,
Combine(CUDA_TYPICAL_MAT_SIZES,
Values(CV_8U, CV_32F),

@ -49,6 +49,8 @@ using namespace perf;
//////////////////////////////////////////////////////////////////////
// HistEvenC1
DEF_PARAM_TEST(Sz_Depth, cv::Size, MatDepth);
PERF_TEST_P(Sz_Depth, HistEvenC1,
Combine(CUDA_TYPICAL_MAT_SIZES,
Values(CV_8U, CV_16U, CV_16S)))

@ -192,6 +192,8 @@ PERF_TEST_P(ImagePair, DisparityBilateralFilter,
//////////////////////////////////////////////////////////////////////
// ReprojectImageTo3D
DEF_PARAM_TEST(Sz_Depth, cv::Size, MatDepth);
PERF_TEST_P(Sz_Depth, ReprojectImageTo3D,
Combine(CUDA_TYPICAL_MAT_SIZES,
Values(CV_8U, CV_16S)))

@ -364,6 +364,8 @@ PERF_TEST_P(Sz_Depth_Cn_Inter, Rotate,
//////////////////////////////////////////////////////////////////////
// PyrDown
DEF_PARAM_TEST(Sz_Depth_Cn, cv::Size, MatDepth, MatCn);
PERF_TEST_P(Sz_Depth_Cn, PyrDown,
Combine(CUDA_TYPICAL_MAT_SIZES,
Values(CV_8U, CV_16U, CV_32F),

Loading…
Cancel
Save