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

How to solve? #1257

Open
Melo-Anthony opened this issue Apr 23, 2022 · 0 comments
Open

How to solve? #1257

Melo-Anthony opened this issue Apr 23, 2022 · 0 comments

Comments

@Melo-Anthony
Copy link

Win10, Matlab R2021b,VS2019,CUDA11.0,Cudnn11.2

vl_compilenn('enableGpu', true, 'cudaMethod', 'nvcc', ...
'cudaRoot', 'D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0', ...
'enableCudnn', true, 'cudnnRoot', 'D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0');

nvcc fatal : '-DNDEBUG': expected a number
Error using vl_compilenn>nvcc_compile (line 615)
Command "D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc" -c -o
"D:\Matlab2021b\toolbox\matconvnet-1.0-beta25\matlab\mex.build\bits\data.obj"
"D:\Matlab2021b\toolbox\matconvnet-1.0-beta25\matlab\src\bits\data.cu" -DENABLE_GPU -DENABLE_DOUBLE -DENABLE_CUDNN
-I"D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include" -O -DNDEBUG -D_FORCE_INLINES --std=c++11
-I"D:\Matlab2021b\extern\include" -I"D:\Matlab2021b\toolbox\parallel\gpu\extern\include"
-gencode=arch=compute_61,code="sm_61,compute_61" --compiler-options=/MD
--compiler-bindir="D:\VS\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64" failed.

Error in vl_compilenn (line 487)
nvcc_compile(opts, srcs{i}, objfile, flags) ;

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