projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f9a28d
)
Remove cudaSetDevice(1)
author
James Thewlis
<jamt9000@gmail.com>
Wed, 19 Mar 2014 14:55:44 +0000
(14:55 +0000)
committer
James Thewlis
<jamt9000@gmail.com>
Wed, 19 Mar 2014 14:55:44 +0000
(14:55 +0000)
So it works when there is only one GPU
tools/dump_network.cpp
patch
|
blob
|
history
diff --git
a/tools/dump_network.cpp
b/tools/dump_network.cpp
index
286de48
..
21d0256
100644
(file)
--- a/
tools/dump_network.cpp
+++ b/
tools/dump_network.cpp
@@
-28,7
+28,6
@@
using namespace caffe; // NOLINT(build/namespaces)
int main(int argc, char** argv) {
- cudaSetDevice(1);
Caffe::set_mode(Caffe::GPU);
Caffe::set_phase(Caffe::TEST);