I have installed CUDA 9.1+cudnn-9.1+opencv 3.4.0+caffe.
CUDA 9.1+cudnn-9.1+opencv 3.4.0+caffe
When I tried to run make all -j8 in caffe directory, this error occurred:
make all -j8
caffe
You can use cmake like following:
cmake [other_params] -D CUDA_ARCH_NAME="Pascal" ..