projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
277bbe1
)
Another bugfix related to my CPU/GPU test changes: make NetTest a
author
Jeff Donahue
<jeff.donahue@gmail.com>
Tue, 15 Jul 2014 22:12:51 +0000
(15:12 -0700)
committer
Jeff Donahue
<jeff.donahue@gmail.com>
Tue, 15 Jul 2014 22:12:51 +0000
(15:12 -0700)
MultiDeviceTest (Caffe:set_mode(Caffe::CPU/GPU) isn't run without this).
src/caffe/test/test_net.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/test/test_net.cpp
b/src/caffe/test/test_net.cpp
index
cd6daeb
..
c30f416
100644
(file)
--- a/
src/caffe/test/test_net.cpp
+++ b/
src/caffe/test/test_net.cpp
@@
-19,7
+19,7
@@
using std::ostringstream;
namespace caffe {
template <typename TypeParam>
-class NetTest : public
::testing::Test
{
+class NetTest : public
MultiDeviceTest<TypeParam>
{
typedef typename TypeParam::Dtype Dtype;
protected: