Install problem with CUDA

60 views
Skip to first unread message

xavier BUHOT

unread,
Dec 7, 2017, 3:31:33 PM12/7/17
to Caffe Users
Hello,
I try to compile the source on Ubuntu 16.04 with Cuda 7.5.
I modify the MakeFIle.config like this:

CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
       
-gencode arch=compute_20,code=sm_21 \
       
-gencode arch=compute_30,code=sm_30 \
       
-gencode arch=compute_35,code=sm_35 \
       
-gencode arch=compute_50,code=sm_50 \
       
-gencode arch=compute_52,code=sm_52

But when I run make I get that error:

  1%] Built target caffeproto
[  2%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_softmax_layer.cu.o
nvcc fatal  
: Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_generated_cudnn_softmax_layer.cu.o.cmake:207 (message):
 
Error generating
 
/home/xavier/Desktop/developpement/Network/caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_softmax_layer.cu.o


Why is it tring to use the compute_61 I remove it from the Makefile.config?


Reply all
Reply to author
Forward
0 new messages