projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f9de3e
)
Fixed call to ThresholdForward in ThresholdLayer.cu
author
Sergio
<sguada@gmail.com>
Tue, 27 May 2014 18:02:20 +0000
(11:02 -0700)
committer
Sergio
<sguada@gmail.com>
Tue, 27 May 2014 18:02:20 +0000
(11:02 -0700)
src/caffe/layers/threshold_layer.cu
patch
|
blob
|
history
diff --git
a/src/caffe/layers/threshold_layer.cu
b/src/caffe/layers/threshold_layer.cu
index
624a822
..
61b1eca
100644
(file)
--- a/
src/caffe/layers/threshold_layer.cu
+++ b/
src/caffe/layers/threshold_layer.cu
@@
-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)
-
ReLU
Forward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>>(
+
Threshold
Forward<Dtype><<<CAFFE_GET_BLOCKS(count), CAFFE_CUDA_NUM_THREADS>>>(
count, threshold_, bottom_data, top_data);
CUDA_POST_KERNEL_CHECK;