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
03864886
Commit
03864886
authored
Jul 18, 2013
by
Andrey Pavlenko
Committed by
OpenCV Buildbot
Jul 18, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1095 from jet47:gpu-perf-tests
parents
77f2d945
4716f634
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
45 additions
and
29 deletions
+45
-29
perf_main.cpp
modules/gpu/perf/perf_main.cpp
+1
-8
main.cpp
modules/gpu/perf4au/main.cpp
+1
-10
perf_main.cpp
modules/gpuarithm/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpubgsegm/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpucodec/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpufeatures2d/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpufilters/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpuimgproc/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpuoptflow/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpustereo/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/gpuwarping/perf/perf_main.cpp
+1
-1
perf_main.cpp
modules/photo/perf/perf_main.cpp
+9
-1
perf_main.cpp
modules/softcascade/perf/perf_main.cpp
+9
-1
gpu_perf.hpp
modules/ts/include/opencv2/ts/gpu_perf.hpp
+16
-0
No files found.
modules/gpu/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,11 +44,4 @@
using
namespace
perf
;
static
const
char
*
impls
[]
=
{
#ifdef HAVE_CUDA
"cuda"
,
#endif
"plain"
};
CV_PERF_TEST_MAIN_WITH_IMPLS
(
gpu
,
impls
,
printCudaInfo
())
CV_PERF_TEST_CUDA_MAIN
(
gpu
)
modules/gpu/perf4au/main.cpp
View file @
03864886
...
...
@@ -52,16 +52,7 @@
#include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_perf.hpp"
int
main
(
int
argc
,
char
*
argv
[])
{
perf
::
printCudaInfo
();
perf
::
Regression
::
Init
(
"gpu_perf4au"
);
perf
::
TestBase
::
Init
(
argc
,
argv
);
testing
::
InitGoogleTest
(
&
argc
,
argv
);
return
RUN_ALL_TESTS
();
}
CV_PERF_TEST_CUDA_MAIN
(
gpu_perf4au
)
//////////////////////////////////////////////////////////
// HoughLinesP
...
...
modules/gpuarithm/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpuarithm
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpuarithm
)
modules/gpubgsegm/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpubgsegm
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpubgsegm
)
modules/gpucodec/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpucodec
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpucodec
)
modules/gpufeatures2d/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpufeatures2d
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpufeatures2d
)
modules/gpufilters/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpufilters
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpufilters
)
modules/gpuimgproc/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpuimgproc
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpuimgproc
)
modules/gpuoptflow/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpuoptflow
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpuoptflow
)
modules/gpustereo/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpustereo
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpustereo
)
modules/gpuwarping/perf/perf_main.cpp
View file @
03864886
...
...
@@ -44,4 +44,4 @@
using
namespace
perf
;
CV_PERF_TEST_
MAIN
(
gpuwarping
,
printCudaInfo
()
)
CV_PERF_TEST_
CUDA_MAIN
(
gpuwarping
)
modules/photo/perf/perf_main.cpp
View file @
03864886
#include "perf_precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp"
CV_PERF_TEST_MAIN
(
photo
)
static
const
char
*
impls
[]
=
{
#ifdef HAVE_CUDA
"cuda"
,
#endif
"plain"
};
CV_PERF_TEST_MAIN_WITH_IMPLS
(
photo
,
impls
,
perf
::
printCudaInfo
())
modules/softcascade/perf/perf_main.cpp
View file @
03864886
...
...
@@ -41,5 +41,13 @@
//M*/
#include "perf_precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp"
CV_PERF_TEST_MAIN
(
softcascade
)
static
const
char
*
impls
[]
=
{
#ifdef HAVE_CUDA
"cuda"
,
#endif
"plain"
};
CV_PERF_TEST_MAIN_WITH_IMPLS
(
softcascade
,
impls
,
perf
::
printCudaInfo
())
modules/ts/include/opencv2/ts/gpu_perf.hpp
View file @
03864886
...
...
@@ -105,6 +105,22 @@ namespace perf
CV_EXPORTS
void
printCudaInfo
();
CV_EXPORTS
void
sortKeyPoints
(
std
::
vector
<
cv
::
KeyPoint
>&
keypoints
,
cv
::
InputOutputArray
_descriptors
=
cv
::
noArray
());
#ifdef HAVE_CUDA
#define CV_PERF_TEST_CUDA_MAIN(modulename) \
int main(int argc, char **argv)\
{\
const char * impls[] = { "cuda", "plain" };\
CV_PERF_TEST_MAIN_INTERNALS(modulename, impls, perf::printCudaInfo())\
}
#else
#define CV_PERF_TEST_CUDA_MAIN(modulename) \
int main(int argc, char **argv)\
{\
const char * plain_only[] = { "plain" };\
CV_PERF_TEST_MAIN_INTERNALS(modulename, plain_only)\
}
#endif
}
#endif // __OPENCV_GPU_PERF_UTILITY_HPP__
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