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
35b671ef
Commit
35b671ef
authored
Sep 13, 2012
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled utility code in gpu tests when WITH_CUDA=false
parent
fd77ef7e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
27 deletions
+21
-27
main_test_nvidia.h
modules/gpu/test/main_test_nvidia.h
+0
-2
test_nvidia.cpp
modules/gpu/test/test_nvidia.cpp
+2
-2
test_precomp.hpp
modules/gpu/test/test_precomp.hpp
+15
-15
utility.cpp
modules/gpu/test/utility.cpp
+4
-0
utility.hpp
modules/gpu/test/utility.hpp
+0
-8
No files found.
modules/gpu/test/main_test_nvidia.h
View file @
35b671ef
#ifndef __main_test_nvidia_h__
#define __main_test_nvidia_h__
#include <string>
enum
OutputLevel
{
OutputLevelNone
,
...
...
modules/gpu/test/test_nvidia.cpp
View file @
35b671ef
...
...
@@ -41,13 +41,13 @@
#include "test_precomp.hpp"
OutputLevel
nvidiaTestOutputLevel
=
OutputLevelCompact
;
#ifdef HAVE_CUDA
using
namespace
cvtest
;
using
namespace
testing
;
OutputLevel
nvidiaTestOutputLevel
=
OutputLevelCompact
;
struct
NVidiaTest
:
TestWithParam
<
cv
::
gpu
::
DeviceInfo
>
{
cv
::
gpu
::
DeviceInfo
devInfo
;
...
...
modules/gpu/test/test_precomp.hpp
View file @
35b671ef
...
...
@@ -61,24 +61,24 @@
#include "cvconfig.h"
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/video/video.hpp"
#include "opencv2/ts/ts.hpp"
#include "opencv2/ts/ts_perf.hpp"
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/nonfree/nonfree.hpp"
#include "opencv2/legacy/legacy.hpp"
#include "utility.hpp"
#include "interpolation.hpp"
#include "main_test_nvidia.h"
#ifdef HAVE_CUDA
#include <cuda.h>
#include <cuda_runtime.h>
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/video/video.hpp"
#include "opencv2/ts/ts.hpp"
#include "opencv2/ts/ts_perf.hpp"
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/nonfree/nonfree.hpp"
#include "opencv2/legacy/legacy.hpp"
#include "utility.hpp"
#include "interpolation.hpp"
#include "main_test_nvidia.h"
#endif
#endif
modules/gpu/test/utility.cpp
View file @
35b671ef
...
...
@@ -41,6 +41,8 @@
#include "test_precomp.hpp"
#ifdef HAVE_CUDA
using
namespace
std
;
using
namespace
cv
;
using
namespace
cv
::
gpu
;
...
...
@@ -418,3 +420,5 @@ void showDiff(InputArray gold_, InputArray actual_, double eps)
waitKey
();
}
#endif // HAVE_CUDA
modules/gpu/test/utility.hpp
View file @
35b671ef
...
...
@@ -42,14 +42,6 @@
#ifndef __OPENCV_TEST_UTILITY_HPP__
#define __OPENCV_TEST_UTILITY_HPP__
#include <vector>
#include <string>
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/ts/ts.hpp"
#include "opencv2/ts/ts_perf.hpp"
//////////////////////////////////////////////////////////////////////
// random generators
...
...
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