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
5d4913a2
Commit
5d4913a2
authored
Feb 15, 2011
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed multi GPU API, added driver_api prefix to multi gpu samples
parent
0821c7ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
1 deletion
+5
-1
gpu.hpp
modules/gpu/include/opencv2/gpu/gpu.hpp
+4
-1
multi_gpu_mgr.cpp
modules/gpu/src/multi_gpu_mgr.cpp
+1
-0
driver_api_multi.cpp
samples/gpu/driver_api_multi.cpp
+0
-0
driver_api_stereo_multi.cpp
samples/gpu/driver_api_stereo_multi.cpp
+0
-0
No files found.
modules/gpu/include/opencv2/gpu/gpu.hpp
View file @
5d4913a2
...
...
@@ -138,6 +138,7 @@ namespace cv
{
public
:
MultiGpuMgr
();
~
MultiGpuMgr
();
// Makes the given GPU active
void
gpuOn
(
int
gpu_id
);
...
...
@@ -148,8 +149,10 @@ namespace cv
static
const
int
BAD_GPU_ID
=
-
1
;
private
:
class
Impl
;
void
operator
=
(
const
MultiGpuMgr
&
);
MultiGpuMgr
(
const
MultiGpuMgr
&
);
class
Impl
;
Ptr
<
Impl
>
impl_
;
};
...
...
modules/gpu/src/multi_gpu_mgr.cpp
View file @
5d4913a2
...
...
@@ -117,6 +117,7 @@ MultiGpuMgr::Impl::Impl(): num_devices_(0)
MultiGpuMgr
::
MultiGpuMgr
()
:
impl_
(
new
Impl
())
{}
MultiGpuMgr
::~
MultiGpuMgr
()
{}
void
MultiGpuMgr
::
gpuOn
(
int
gpu_id
)
...
...
samples/gpu/multi.cpp
→
samples/gpu/
driver_api_
multi.cpp
View file @
5d4913a2
File moved
samples/gpu/stereo_multi.cpp
→
samples/gpu/
driver_api_
stereo_multi.cpp
View file @
5d4913a2
File moved
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