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
@@ -55,6 +55,8 @@ namespace
IMPLEMENT_PARAM_CLASS(FAST_NonmaxSuppression, bool)
}
namespace {
PARAM_TEST_CASE(FAST, cv::cuda::DeviceInfo, FAST_Threshold, FAST_NonmaxSuppression)
{
cv::cuda::DeviceInfo devInfo;
@@ -708,4 +710,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_Features2D, BruteForceMatcher, testing::Combine(
testing::Values(DescriptorSize(57), DescriptorSize(64), DescriptorSize(83), DescriptorSize(128), DescriptorSize(179), DescriptorSize(256), DescriptorSize(304)),
testing::Values(UseMask(false), UseMask(true))));
} // namespace
#endif // HAVE_CUDA