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
47d9b933
Commit
47d9b933
authored
Feb 17, 2014
by
Andrey Pavlenko
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2345 from ilya-lavrenov:tapi_3cn_perf
parents
aeeb9f9e
7629bb78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
14 deletions
+16
-14
perf_arithm.cpp
modules/core/perf/opencl/perf_arithm.cpp
+10
-10
perf_imgwarp.cpp
modules/imgproc/perf/opencl/perf_imgwarp.cpp
+4
-4
ocl_perf.hpp
modules/ts/include/opencv2/ts/ocl_perf.hpp
+2
-0
No files found.
modules/core/perf/opencl/perf_arithm.cpp
View file @
47d9b933
...
...
@@ -121,7 +121,7 @@ OCL_PERF_TEST_P(LogFixture, Log, ::testing::Combine(
typedef
Size_MatType
AddFixture
;
OCL_PERF_TEST_P
(
AddFixture
,
Add
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size
srcSize
=
GET_PARAM
(
0
);
const
int
type
=
GET_PARAM
(
1
);
...
...
@@ -141,7 +141,7 @@ OCL_PERF_TEST_P(AddFixture, Add,
typedef
Size_MatType
SubtractFixture
;
OCL_PERF_TEST_P
(
SubtractFixture
,
Subtract
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -161,7 +161,7 @@ OCL_PERF_TEST_P(SubtractFixture, Subtract,
typedef
Size_MatType
MulFixture
;
OCL_PERF_TEST_P
(
MulFixture
,
Multiply
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
OCL_PERF_TEST_P
(
MulFixture
,
Multiply
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -182,7 +182,7 @@ OCL_PERF_TEST_P(MulFixture, Multiply, ::testing::Combine(OCL_TEST_SIZES, OCL_TES
typedef
Size_MatType
DivFixture
;
OCL_PERF_TEST_P
(
DivFixture
,
Divide
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -203,7 +203,7 @@ OCL_PERF_TEST_P(DivFixture, Divide,
typedef
Size_MatType
AbsDiffFixture
;
OCL_PERF_TEST_P
(
AbsDiffFixture
,
Absdiff
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -452,7 +452,7 @@ OCL_PERF_TEST_P(PhaseFixture, Phase, ::testing::Combine(
typedef
Size_MatType
BitwiseAndFixture
;
OCL_PERF_TEST_P
(
BitwiseAndFixture
,
Bitwise_and
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -473,7 +473,7 @@ OCL_PERF_TEST_P(BitwiseAndFixture, Bitwise_and,
typedef
Size_MatType
BitwiseXorFixture
;
OCL_PERF_TEST_P
(
BitwiseXorFixture
,
Bitwise_xor
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -494,7 +494,7 @@ OCL_PERF_TEST_P(BitwiseXorFixture, Bitwise_xor,
typedef
Size_MatType
BitwiseOrFixture
;
OCL_PERF_TEST_P
(
BitwiseOrFixture
,
Bitwise_or
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -515,7 +515,7 @@ OCL_PERF_TEST_P(BitwiseOrFixture, Bitwise_or,
typedef
Size_MatType
BitwiseNotFixture
;
OCL_PERF_TEST_P
(
BitwiseNotFixture
,
Bitwise_not
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
@@ -584,7 +584,7 @@ OCL_PERF_TEST_P(PowFixture, Pow, ::testing::Combine(
typedef
Size_MatType
AddWeightedFixture
;
OCL_PERF_TEST_P
(
AddWeightedFixture
,
AddWeighted
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
))
{
const
Size_MatType_t
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
modules/imgproc/perf/opencl/perf_imgwarp.cpp
View file @
47d9b933
...
...
@@ -60,7 +60,7 @@ typedef tuple<Size, MatType, InterType> WarpAffineParams;
typedef
TestBaseWithParam
<
WarpAffineParams
>
WarpAffineFixture
;
OCL_PERF_TEST_P
(
WarpAffineFixture
,
WarpAffine
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
,
InterType
::
all
()))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
,
InterType
::
all
()))
{
static
const
double
coeffs
[
2
][
3
]
=
{
...
...
@@ -90,7 +90,7 @@ typedef WarpAffineParams WarpPerspectiveParams;
typedef
TestBaseWithParam
<
WarpPerspectiveParams
>
WarpPerspectiveFixture
;
OCL_PERF_TEST_P
(
WarpPerspectiveFixture
,
WarpPerspective
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
,
InterType
::
all
()))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
,
InterType
::
all
()))
{
static
const
double
coeffs
[
3
][
3
]
=
{
...
...
@@ -121,7 +121,7 @@ typedef tuple<Size, MatType, InterType, double> ResizeParams;
typedef
TestBaseWithParam
<
ResizeParams
>
ResizeFixture
;
OCL_PERF_TEST_P
(
ResizeFixture
,
Resize
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
,
InterType
::
all
(),
::
testing
::
Values
(
0.5
,
2.0
)))
{
const
ResizeParams
params
=
GetParam
();
...
...
@@ -146,7 +146,7 @@ typedef tuple<Size, MatType, double> ResizeAreaParams;
typedef
TestBaseWithParam
<
ResizeAreaParams
>
ResizeAreaFixture
;
OCL_PERF_TEST_P
(
ResizeAreaFixture
,
Resize
,
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
,
::
testing
::
Values
(
0.3
,
0.5
,
0.6
)))
::
testing
::
Combine
(
OCL_TEST_SIZES
,
OCL_TEST_TYPES
_134
,
::
testing
::
Values
(
0.3
,
0.5
,
0.6
)))
{
const
ResizeAreaParams
params
=
GetParam
();
const
Size
srcSize
=
get
<
0
>
(
params
);
...
...
modules/ts/include/opencv2/ts/ocl_perf.hpp
View file @
47d9b933
...
...
@@ -92,6 +92,8 @@ using std::tr1::tuple;
#define OCL_TEST_SIZES ::testing::Values(OCL_SIZE_1, OCL_SIZE_2, OCL_SIZE_3, OCL_SIZE_4)
#define OCL_TEST_TYPES ::testing::Values(CV_8UC1, CV_32FC1, CV_8UC4, CV_32FC4)
#define OCL_TEST_TYPES_14 OCL_TEST_TYPES
#define OCL_TEST_TYPES_134 ::testing::Values(CV_8UC1, CV_32FC1, CV_8UC3, CV_32FC3, CV_8UC4, CV_32FC4)
#define OCL_PERF_ENUM ::testing::Values
...
...
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