I have installed 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:
nvcc fatal : Unsupported gpu architecture 'compute_20'
I have tried to run:
"cmake -D CMAKE_BUILD_TYPE=RELEASE -D CUDA_GENERATION=Kepler .."
but it didn't work.
Try manually edit
Makefile.config
to removecompute_2*
architectures from these lines (comments explain why):And add the compute_6* architectures (see the comments) so that your new CUDA_ARCH looks like this:
Then you'll need to
make clean
beforemake all
.