projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f1aa1b
)
fixed incorrect device id in multi_gpu sample (checked both multi GPU samples work...
author
Alexey Spizhevoy
<no@email>
Thu, 17 Feb 2011 07:29:56 +0000
(07:29 +0000)
committer
Alexey Spizhevoy
<no@email>
Thu, 17 Feb 2011 07:29:56 +0000
(07:29 +0000)
samples/gpu/multi.cpp
patch
|
blob
|
history
diff --git
a/samples/gpu/multi.cpp
b/samples/gpu/multi.cpp
index
06564b4
..
da8bf75
100644
(file)
--- a/
samples/gpu/multi.cpp
+++ b/
samples/gpu/multi.cpp
@@
-61,7
+61,7
@@
int main()
multi_gpu_mgr.init();
\r
\r
// Execute calculation in two threads using two GPUs
\r
- int devices[] = {0,
2
};
\r
+ int devices[] = {0,
1
};
\r
parallel_do(devices, devices + 2, Worker());
\r
\r
return 0;
\r