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
51a672ec
Commit
51a672ec
authored
Jun 19, 2013
by
Roman Donchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled the cuda variant when CUDA is not available.
parent
7a104d27
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
perf_main.cpp
modules/gpu/perf/perf_main.cpp
+5
-1
perf_main.cpp
modules/nonfree/perf/perf_main.cpp
+5
-1
perf_main.cpp
modules/superres/perf/perf_main.cpp
+5
-1
No files found.
modules/gpu/perf/perf_main.cpp
View file @
51a672ec
...
...
@@ -44,4 +44,8 @@
using
namespace
perf
;
CV_PERF_TEST_MAIN_WITH_IMPLS
(
gpu
,
(
"cuda"
,
"plain"
),
printCudaInfo
())
CV_PERF_TEST_MAIN_WITH_IMPLS
(
gpu
,
(
#ifdef HAVE_CUDA
"cuda"
,
#endif
"plain"
),
printCudaInfo
())
modules/nonfree/perf/perf_main.cpp
View file @
51a672ec
#include "perf_precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp"
CV_PERF_TEST_MAIN_WITH_IMPLS
(
nonfree
,
(
"cuda"
,
"plain"
),
perf
::
printCudaInfo
())
CV_PERF_TEST_MAIN_WITH_IMPLS
(
nonfree
,
(
#ifdef HAVE_CUDA
"cuda"
,
#endif
"plain"
),
perf
::
printCudaInfo
())
modules/superres/perf/perf_main.cpp
View file @
51a672ec
...
...
@@ -44,4 +44,8 @@
using
namespace
perf
;
CV_PERF_TEST_MAIN_WITH_IMPLS
(
superres
,
(
"cuda"
,
"plain"
),
printCudaInfo
())
CV_PERF_TEST_MAIN_WITH_IMPLS
(
superres
,
(
#ifdef HAVE_CUDA
"cuda"
,
#endif
"plain"
),
printCudaInfo
())
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