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
7831a2d4
Commit
7831a2d4
authored
Aug 21, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Aug 21, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1314 from jet47:ts-gpu-fix
parents
adc1dd27
2899d558
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
precomp.hpp
modules/ts/src/precomp.hpp
+1
-0
ts_perf.cpp
modules/ts/src/ts_perf.cpp
+8
-0
No files found.
modules/ts/src/precomp.hpp
View file @
7831a2d4
#include "opencv2/core/core_c.h"
#include "opencv2/core/internal.hpp"
#include "opencv2/ts/ts.hpp"
#include "cvconfig.h"
#ifdef GTEST_LINKED_AS_SHARED_LIBRARY
#error ts module should not have GTEST_LINKED_AS_SHARED_LIBRARY defined
...
...
modules/ts/src/ts_perf.cpp
View file @
7831a2d4
...
...
@@ -741,6 +741,14 @@ void TestBase::RecordRunParameters()
{
::
testing
::
Test
::
RecordProperty
(
"cv_implementation"
,
param_impl
);
::
testing
::
Test
::
RecordProperty
(
"cv_num_threads"
,
param_threads
);
#ifdef HAVE_CUDA
if
(
param_impl
==
"cuda"
)
{
cv
::
gpu
::
DeviceInfo
info
(
param_cuda_device
);
::
testing
::
Test
::
RecordProperty
(
"cv_cuda_gpu"
,
info
.
name
());
}
#endif
}
std
::
string
TestBase
::
getSelectedImpl
()
...
...
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