vl_compilenn error in MatConvNet using GPU

조회 수: 1 (최근 30일)
Muhammad Shahid
Muhammad Shahid 2021년 5월 21일
답변: Tarunbir Gambhir 2021년 5월 27일
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