参考博客:http://blog.csdn.net/zhangla1220/article/details/51025722
caffe 编译中出现错误: declaration is incompatible with "const char *cudnnGetErrorString(cudnnStatus_t)"
解决方案:在cudnn.h中inline const char* cudnnGetErrorString(cudnnStatus_t status) 修改为
inline const char* CUDNNWINAPI cudnnGetErrorString(cudnnStatus_t status)。