mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
test: fix cuda build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user