wenwei202 / caffe

Caffe for Sparse and Low-rank Deep Neural Networks
Other
377 stars 134 forks source link

How to make ? #21

Open zhangguotai opened 6 years ago

zhangguotai commented 6 years ago

I have compiled successfully the codes of caffe in my computer,running examples! But when compiling modified codes,I encounter problems. the problem as follow: ./include/caffe/util/cudnn.hpp:113:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’ pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION)); I should how to solve it? ubuntu 16,cuda9.0,cuda compilation tools 9.0

wenwei202 commented 6 years ago

The latest version of cudnn I tested on was 5.0, seems the api changed.