I have the follow configuration:
When I compile with vl_compilenn (only cpu)
the compile is correct.
But when I compile with:
vl_compilenn ('enableGpu', true)
or more specific with:
vl_compilenn('enableGpu', true, 'cudaMethod', 'nvcc', 'cudaRoot', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0', 'enableCudnn', true, 'cudnnRoot', 'C:\\..\\..\\..\\..\\..\\MatConvNet\\cuda')
I have the follow issue:
vl_compilenn: CUDA: MEX config file: 'C:\\Program Files\\MATLAB\\R2016b\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml' C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/../VC/bin/../../VC/INCLUDE\\crtdefs.h(10): fatal error C1083: Non Þ possibile aprire il file inclusione: 'corecrt.h': No such file or directory data.cu Error using vl_compilenn>nvcc_compile (line 540) Command "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\bin\\nvcc" -c "C:.........\\MatConvNet\\matconvnet-1.0-beta23\\matlab\\src\\bits\\data.cu" -DNDEBUG -DENABLE_GPU -DENABLE_CUDNN -I"C:..........\\MatConvNet\\cuda\\include" -DENABLE_DOUBLE -D__SSSE3__ -gencode=arch=compute_50,code=\\"sm_50,compute_50\\" -I"C:\\Program Files\\MATLAB\\R2016b\\extern\\include" -I"C:\\Program Files\\MATLAB\\R2016b\\toolbox\\distcomp\\gpu\\extern\\include"
-gencode=arch=compute_50,code=\\"sm_50,compute_50\\" -O3 -Xcompiler /MD --compiler-bindir "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC..\\VC\\bin" -o "C:..........\\MatConvNet\\matconvnet-1.0-beta23\\matlab\\mex.build\\bits\\data.obj" failed.Error in vl_compilenn (line 485) nvcc_compile(opts, srcs{i}, objfile, flags.nvcc) ;
Also, i have copied the cudnn64_6.dll into the specific directory matlab/mex
If you have an idea, i would be gratefull, since I have made several attempt with another version of matconvnet (example b24), but the issue is similar.
Thank you very much.
I have solved used the follows libraries and software:
Regards
Probably there is no bin folder so Create 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC..\\VC\\bin' folder. It will stay empty but compiling will finished.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.