Skip to content

Commit

Permalink
Remove unnecessary CAFFE_TEST_CUDA_PROP declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdonahue committed Jan 26, 2016
1 parent 940b299 commit 9a43dcf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/caffe/test/test_embed_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

namespace caffe {

#ifndef CPU_ONLY
extern cudaDeviceProp CAFFE_TEST_CUDA_PROP;
#endif

template <typename TypeParam>
class EmbedLayerTest : public MultiDeviceTest<TypeParam> {
typedef typename TypeParam::Dtype Dtype;
Expand Down
2 changes: 0 additions & 2 deletions src/caffe/test/test_im2col_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ __global__ void im2col_nd_gpu_kernel(const int n, const Dtype* data_im,
const int* kernel_shape, const int* pad, const int* stride,
const int* dilation, Dtype* data_col);

extern cudaDeviceProp CAFFE_TEST_CUDA_PROP;

template <typename Dtype>
class Im2colKernelTest : public GPUDeviceTest<Dtype> {
protected:
Expand Down

0 comments on commit 9a43dcf

Please sign in to comment.