Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
4a7d441b
Commit
4a7d441b
authored
Nov 28, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: fix cuda build
parent
2c03c8d7
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
41 additions
and
2 deletions
+41
-2
perf_arithm.cpp
modules/cudaarithm/perf/perf_arithm.cpp
+4
-0
test_core.cpp
modules/cudaarithm/test/test_core.cpp
+4
-0
test_features2d.cpp
modules/cudafeatures2d/test/test_features2d.cpp
+4
-0
test_filters.cpp
modules/cudafilters/test/test_filters.cpp
+4
-0
test_canny.cpp
modules/cudaimgproc/test/test_canny.cpp
+4
-0
test_histogram.cpp
modules/cudaimgproc/test/test_histogram.cpp
+4
-0
test_hough.cpp
modules/cudaimgproc/test/test_hough.cpp
+4
-0
test_objdetect.cpp
modules/cudaobjdetect/test/test_objdetect.cpp
+4
-0
test_optflow.cpp
modules/cudaoptflow/test/test_optflow.cpp
+5
-2
test_stereo.cpp
modules/cudastereo/test/test_stereo.cpp
+4
-0
No files found.
modules/cudaarithm/perf/perf_arithm.cpp
View file @
4a7d441b
...
...
@@ -46,6 +46,8 @@ using namespace std;
using
namespace
testing
;
using
namespace
perf
;
namespace
{
// workaround conflict with DftFlags
//////////////////////////////////////////////////////////////////////
// GEMM
...
...
@@ -252,3 +254,5 @@ PERF_TEST_P(Sz_KernelSz_Ccorr, Convolve,
CPU_SANITY_CHECK
(
dst
);
}
}
}
// namespace
modules/cudaarithm/test/test_core.cpp
View file @
4a7d441b
...
...
@@ -46,6 +46,8 @@
using
namespace
cvtest
;
namespace
{
////////////////////////////////////////////////////////////////////////////////
// Merge
...
...
@@ -416,4 +418,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_Arithm, CopyMakeBorder, testing::Combine(
ALL_BORDER_TYPES
,
WHOLE_SUBMAT
));
}
//namespace
#endif // HAVE_CUDA
modules/cudafeatures2d/test/test_features2d.cpp
View file @
4a7d441b
...
...
@@ -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
modules/cudafilters/test/test_filters.cpp
View file @
4a7d441b
...
...
@@ -68,6 +68,8 @@ namespace
}
}
namespace
{
/////////////////////////////////////////////////////////////////////////////////////////////////
// Blur
...
...
@@ -708,4 +710,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_Filters, Median, testing::Combine(
WHOLE_SUBMAT
)
);
}
//namespace
#endif // HAVE_CUDA
modules/cudaimgproc/test/test_canny.cpp
View file @
4a7d441b
...
...
@@ -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
modules/cudaimgproc/test/test_histogram.cpp
View file @
4a7d441b
...
...
@@ -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
modules/cudaimgproc/test/test_hough.cpp
View file @
4a7d441b
...
...
@@ -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
modules/cudaobjdetect/test/test_objdetect.cpp
View file @
4a7d441b
...
...
@@ -46,6 +46,8 @@
using
namespace
cvtest
;
namespace
{
//#define DUMP
struct
HOG
:
testing
::
TestWithParam
<
cv
::
cuda
::
DeviceInfo
>
...
...
@@ -558,4 +560,6 @@ CUDA_TEST_P(LBP_classify, Accuracy)
INSTANTIATE_TEST_CASE_P
(
CUDA_ObjDetect
,
LBP_classify
,
testing
::
Combine
(
ALL_DEVICES
,
testing
::
Values
<
int
>
(
0
)));
}
// namespace
#endif // HAVE_CUDA
modules/cudaoptflow/test/test_optflow.cpp
View file @
4a7d441b
...
...
@@ -46,6 +46,8 @@
using
namespace
cvtest
;
namespace
{
//////////////////////////////////////////////////////
// BroxOpticalFlow
...
...
@@ -401,4 +403,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_OptFlow, OpticalFlowDual_TVL1, testing::Combine(
ALL_DEVICES
,
testing
::
Values
(
Gamma
(
0.0
),
Gamma
(
1.0
))));
#endif // HAVE_CUDA
\ No newline at end of file
}
// namespace
#endif // HAVE_CUDA
modules/cudastereo/test/test_stereo.cpp
View file @
4a7d441b
...
...
@@ -46,6 +46,8 @@
using
namespace
cvtest
;
namespace
{
//////////////////////////////////////////////////////////////////////////
// StereoBM
...
...
@@ -209,4 +211,6 @@ INSTANTIATE_TEST_CASE_P(CUDA_Stereo, ReprojectImageTo3D, testing::Combine(
testing
::
Values
(
MatDepth
(
CV_8U
),
MatDepth
(
CV_16S
)),
WHOLE_SUBMAT
));
}
// namespace
#endif // HAVE_CUDA
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment