Another bugfix related to my CPU/GPU test changes: make NetTest a
authorJeff Donahue <jeff.donahue@gmail.com>
Tue, 15 Jul 2014 22:12:51 +0000 (15:12 -0700)
committerJeff 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

index cd6daeb..c30f416 100644 (file)
@@ -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: