Could you check your cudnn install at --that Found cuDNN: v6.0.21 (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so)? I had a similar issue but it turned out my header file was missing.