I have a question in using cudnn.
I compile caffe with cudnn on.
and then, I want to declare a CuDNNConvolutionLayer, my code just like follw:
#include <caffe/layers/cudnn_conv_layer.hpp>
caffe::LayerParameter a;
caffe::CuDNNConvolutionLayer conv1_1(a);
then ,it went wrong!but when I write like this:
caffe::LayerParameter a;
caffe::ConvolutionLayer conv1_2(a);
it work wright!
I am sure I set the cudnn on.
so, where goes wrong ? anybody can hlep me ?I will be very thankful!!