Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvcc fatal: Unsupported gpu architecture 'compute_86' #93

Open
zzzisz opened this issue Apr 17, 2021 · 0 comments
Open

nvcc fatal: Unsupported gpu architecture 'compute_86' #93

zzzisz opened this issue Apr 17, 2021 · 0 comments

Comments

@zzzisz
Copy link

zzzisz commented Apr 17, 2021

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) ;

@zzzisz zzzisz changed the title nvcc fatal: Unsupported gpu architecture 'compute_xx' nvcc fatal: Unsupported gpu architecture 'compute_86' Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant