vl_compilenn error in MatConvNet using GPU

1 次查看(过去 30 天)
Hi, whenever I try to run vl_compilenn using gpu using MatConvNet toolbox the below error comes.
Config : cuda-10.1, cudnn-7.6.5, matlab2020a, visual studio 2015
%----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored.
data.cu
vl_compilenn: NVCC CC: "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc" -c -o "E:\TargetAwareDT\TADT-master\matconvnet_latest\matlab\mex\.build\bits\datamex.obj" "E:\TargetAwareDT\TADT-master\matconvnet_latest\matlab\src\bits\datamex.cu" -DENABLE_GPU -DENABLE_DOUBLE -DENABLE_CUDNN -I"E:\CUDA_CUDNN\cuda10.1\cudnn7.6.5\include" -O0 -DNDEBUG -D_FORCE_INLINES --std=c++11 -I"E:\matlab_install\extern\include" -I"E:\matlab_install\toolbox\distcomp\gpu\extern\include" -gencode=arch=compute_50,code=\"sm_50,compute_50\" --compiler-options=/MD --compiler-bindir="E:\MicrosoftVisualStudio15.0_install\VC\bin"
e:\targetawaredt\tadt-master\matconvnet_latest\matlab\src\bits\datamex.hpp(19): fatal error C1083: Cannot open include file: 'gpu/mxGPUArray.h': No such file or directory
nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored.
datamex.cu
Error using vl_compilenn>nvcc_compile (line 620)
Command "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc" -c -o
"E:\TargetAwareDT\TADT-master\matconvnet_latest\matlab\mex\.build\bits\datamex.obj"
"E:\TargetAwareDT\TADT-master\matconvnet_latest\matlab\src\bits\datamex.cu" -DENABLE_GPU
-DENABLE_DOUBLE -DENABLE_CUDNN -I"E:\CUDA_CUDNN\cuda10.1\cudnn7.6.5\include" -O0
-DNDEBUG -D_FORCE_INLINES --std=c++11 -I"E:\matlab_install\extern\include"
-I"E:\matlab_install\toolbox\distcomp\gpu\extern\include"
-gencode=arch=compute_50,code=\"sm_50,compute_50\" --compiler-options=/MD
--compiler-bindir="E:\MicrosoftVisualStudio15.0_install\VC\bin" failed.
Error in vl_compilenn (line 492)
nvcc_compile(opts, srcs{i}, objfile, flags) ;

回答(1 个)

Tarunbir Gambhir
Tarunbir Gambhir 2021-5-27
It looks like 'vl_compilenn' is from a third-party repo called 'MatConvNet' which has its own forums. You can try looking for a solution there.

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by