nvcc fatal: Unsupported gpu architecture 'compute_86'
Opened this issue · 0 comments
Hi, thanks for your work, here is my setting:
gpu: RTX3070 CAPABILITY 8.6
matlab: R2021a
Microsoft Visual C++ 2019
Cuda 11.2
cudnn v8.1.1
I changed Makefile accordingly but this seems not working. Could you please help? Here is my error:
vl_compilenn('enableImreadJpeg', true, 'enableGpu', true, 'cudaRoot', 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2',...
'enableCudnn', true, 'cudnnRoot', 'local/')
vl_compilenn: CUDA: MEX config file: 'C:\Program Files\MATLAB\R2021a\toolbox\distcomp\gpu\extern\src\mex\win64\mex_CUDA_win64.xml'
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
Error using vl_compilenn>nvcc_compile (line 536)
Command "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc" -c "D:\tiny\matconvnet\matlab\matlab\src\bits\data.cu" -DNDEBUG
-DENABLE_GPU -DENABLE_CUDNN -I"local\include" -DENABLE_DOUBLE -D__SSSE3__ -gencode=arch=compute_35,code="sm_35,compute_35"
-gencode=arch=compute_37,code="sm_37,compute_37" -I"C:\Program Files\MATLAB\R2021a\extern\include" -I"C:\Program
Files\MATLAB\R2021a\toolbox\distcomp\gpu\extern\include" -gencode=arch=compute_35,code="sm_35,compute_35"
-gencode=arch=compute_37,code="sm_37,compute_37" -O3 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Professional\VC\bin" -o "D:\tiny\matconvnet\matlab\matlab\mex.build\bits\data.obj" failed.
Error in vl_compilenn (line 481)
nvcc_compile(opts, srcs{i}, objfile, flags.nvcc) ;