We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am using matlab2021b, cuda11.2, vs 2019 professional, RTX3070 and met this error, please help.
vl_compilenn('enableImreadJpeg', true, 'enableGpu', true, 'cudaRoot', 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2',... 'cudaMethod', 'nvcc', 'enableCudnn', true, 'cudnnRoot', 'C:\Program Files\NVIDIA GPU Computing Toolkit\cudnn'); vl_compilenn: CUDA: MEX config file: 'C:\Program Files\MATLAB\R2021a\toolbox\distcomp\gpu\extern\src\mex\win64\mex_CUDA_win64.xml' C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(69): error: identifier "cudnnConvolutionFwdPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(74): error: identifier "cudnnConvolutionBwdFilterPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(79): error: identifier "cudnnConvolutionBwdDataPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(120): error: identifier "cudnnConvolutionFwdPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(126): error: identifier "cudnnConvolutionBwdFilterPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(132): error: identifier "cudnnConvolutionBwdDataPreference_t" is undefined
6 errors detected in the compilation of "C:/tiny-master/matconvnet/matlab/src/bits/data.cu". data.cu Error using vl_compilenn>nvcc_compile (line 536) Command "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc" -c "C:\tiny-master\matconvnet\matlab\src\bits\data.cu" -g -DENABLE_GPU -DENABLE_CUDNN -I"C:\Program Files\NVIDIA GPU Computing Toolkit\cudnn\include" -DENABLE_DOUBLE -D__SSSE3__ -gencode=arch=compute_86,code="sm_86,compute_86" -I"C:\Program Files\MATLAB\R2021a\extern\include" -I"C:\Program Files\MATLAB\R2021a\toolbox\distcomp\gpu\extern\include" -gencode=arch=compute_86,code="sm_86,compute_86" -O0 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\bin" -o "C:\tiny-master\matconvnet\matlab\mex.build\bits\data.obj" failed.
Error in vl_compilenn (line 481) nvcc_compile(opts, srcs{i}, objfile, flags.nvcc) ;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I am using matlab2021b, cuda11.2, vs 2019 professional, RTX3070 and met this error, please help.
vl_compilenn('enableImreadJpeg', true, 'enableGpu', true, 'cudaRoot', 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2',...
'cudaMethod', 'nvcc', 'enableCudnn', true, 'cudnnRoot', 'C:\Program Files\NVIDIA GPU Computing Toolkit\cudnn');
vl_compilenn: CUDA: MEX config file: 'C:\Program Files\MATLAB\R2021a\toolbox\distcomp\gpu\extern\src\mex\win64\mex_CUDA_win64.xml'
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(69): error: identifier "cudnnConvolutionFwdPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(74): error: identifier "cudnnConvolutionBwdFilterPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(79): error: identifier "cudnnConvolutionBwdDataPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(120): error: identifier "cudnnConvolutionFwdPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(126): error: identifier "cudnnConvolutionBwdFilterPreference_t" is undefined
C:\tiny-master\matconvnet\matlab\src\bits\datacu.hpp(132): error: identifier "cudnnConvolutionBwdDataPreference_t" is undefined
6 errors detected in the compilation of "C:/tiny-master/matconvnet/matlab/src/bits/data.cu".
data.cu
Error using vl_compilenn>nvcc_compile (line 536)
Command "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc" -c
"C:\tiny-master\matconvnet\matlab\src\bits\data.cu" -g -DENABLE_GPU -DENABLE_CUDNN -I"C:\Program Files\NVIDIA GPU
Computing Toolkit\cudnn\include" -DENABLE_DOUBLE -D__SSSE3__ -gencode=arch=compute_86,code="sm_86,compute_86"
-I"C:\Program Files\MATLAB\R2021a\extern\include" -I"C:\Program
Files\MATLAB\R2021a\toolbox\distcomp\gpu\extern\include" -gencode=arch=compute_86,code="sm_86,compute_86"
-O0 -Xcompiler /MD --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\bin" -o
"C:\tiny-master\matconvnet\matlab\mex.build\bits\data.obj" failed.
Error in vl_compilenn (line 481)
nvcc_compile(opts, srcs{i}, objfile, flags.nvcc) ;
The text was updated successfully, but these errors were encountered: