参考:http://blog.csdn.net/wishchin/article/details/45339753
error : identifier "::caffe::kBNLL_THRESHOLD" is undefined in device code C:\Tools\caffe-master\src\caffe\layers\bnll_layer.cu
解决:在bnll_layer.cu 里修改
- 修改前Dtype expval = exp(min(in_data[index], Dtype(kBNLL_THRESHOLD)));
- 修改后为Dtype expval = exp(min(in_data[index], Dtype(50)));