Fixed call to ThresholdForward in ThresholdLayer.cu
authorSergio <sguada@gmail.com>
Tue, 27 May 2014 18:02:20 +0000 (11:02 -0700)
committerSergio <sguada@gmail.com>
Tue, 27 May 2014 18:02:20 +0000 (11:02 -0700)
src/caffe/layers/threshold_layer.cu

index 624a822..61b1eca 100644 (file)
@@ -25,7 +25,7 @@ Dtype ThresholdLayer<Dtype>::Forward_gpu(const vector<Blob<Dtype>*>& bottom,
   Dtype* top_data = (*top)[0]->mutable_gpu_data();
   const int count = bottom[0]->count();
   // NOLINT_NEXT_LINE(whitespace/operators)
-  ReLUForward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>>(
+  ThresholdForward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>>(
       count, threshold_, bottom_data, top_data);
   CUDA_POST_KERNEL_CHECK;