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
f87ef772
Commit
f87ef772
authored
Jul 18, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed GPU_/CPU_ prefix from gpu's sanity test
parent
12f304ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
ts_perf.cpp
modules/ts/src/ts_perf.cpp
+1
-12
No files found.
modules/ts/src/ts_perf.cpp
View file @
f87ef772
...
...
@@ -51,10 +51,6 @@ static void setCurrentThreadAffinityMask(int mask)
}
#endif
#ifdef HAVE_CUDA
# include <opencv2/core/gpumat.hpp>
#endif
namespace
{
class
PerfEnvironment
:
public
::
testing
::
Environment
...
...
@@ -135,7 +131,7 @@ Regression& Regression::addKeypoints(TestBase* test, const std::string& name, co
Regression
&
Regression
::
addMatches
(
TestBase
*
test
,
const
std
::
string
&
name
,
const
std
::
vector
<
cv
::
DMatch
>&
array
,
double
eps
,
ERROR_TYPE
err
)
{
int
len
=
(
int
)
array
.
size
();
int
len
=
(
int
)
array
.
size
();
cv
::
Mat
queryIdx
(
len
,
1
,
CV_32SC1
,
len
?
(
void
*
)
&
array
[
0
].
queryIdx
:
0
,
sizeof
(
cv
::
DMatch
));
cv
::
Mat
trainIdx
(
len
,
1
,
CV_32SC1
,
len
?
(
void
*
)
&
array
[
0
].
trainIdx
:
0
,
sizeof
(
cv
::
DMatch
));
cv
::
Mat
imgIdx
(
len
,
1
,
CV_32SC1
,
len
?
(
void
*
)
&
array
[
0
].
imgIdx
:
0
,
sizeof
(
cv
::
DMatch
));
...
...
@@ -556,13 +552,6 @@ Regression& Regression::operator() (const std::string& name, cv::InputArray arra
std
::
string
nodename
=
getCurrentTestNodeName
();
// This is a hack for compatibility and it should eventually get removed.
// gpu's tests don't even have CPU sanity data anymore.
if
(
suiteName
==
"gpu"
)
{
nodename
=
(
PERF_RUN_GPU
()
?
"GPU_"
:
"CPU_"
)
+
nodename
;
}
cv
::
FileNode
n
=
rootIn
[
nodename
];
if
(
n
.
isNone
())
{
...
...
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