18#define CUDA_TEST_DEVICE -1
19#define EXAMPLES_SOURCE_DIR "examples/"
20#define ABS_TEST_DATA_DIR "src/caffe/test/test_data"
26template <
typename TypeParam>
29 typedef typename TypeParam::Dtype
Dtype;
40template <
typename TypeParam>
46template <
typename Dtype>
56template <
typename TypeParam>
58 typedef TypeParam Dtype;
62template <
typename Dtype>
63class GPUDeviceTest :
public MultiDeviceTest<GPUDevice<Dtype>> {};
65typedef ::testing::Types<CPUDevice<float>, CPUDevice<double>, GPUDevice<float>,
virtual ~MultiDeviceTest()
::testing::Types< float, double > TestDtypes
::testing::Types< CPUDevice< float >, CPUDevice< double > > TestDtypesAndDevices