error compiling c build error in gpu coder matlab 2017b
조회 수: 8 (최근 30일)
이전 댓글 표시
hello, i have been trying to matlab code to cuda c code by using gpu coder and i am getting this error. 'E:\vs2015\VC\Lib\amd64' is not recognized as an internal or external command, operable program or batch file. nvcc -c -rdc=true -Xcompiler "/wd 4819" -Xcudafe "--diag_suppress=unsigned_compare_with_zero --diag_suppress=useless_type_qualifier_on_return_type" -D_GNU_SOURCE -DMATLAB_MEX_FILE -arch sm_35 -I "D:\PROGRA~1\MATLAB\R2017b\simulink\include" -I "D:\PROGRA~1\MATLAB\R2017b\toolbox\shared\simtargets" -I "C:\Users\User1\AppData\Local\Temp\TPA4BA~1\codegen\mex\gpuSimpleTest" -I "C:\Users\User1\AppData\Local\Temp\TPA4BA~1" -I ".\interface" -I "D:\PROGRA~1\MATLAB\R2017b\extern\include" -I "." "C:\Users\User1\AppData\Local\Temp\TPA4BA~1\codegen\mex\gpuSimpleTest/gpuSimpleTest_data.cu" 'nvcc' is not recognized as an internal or external command, operable program or batch file. gmake: * [gpuSimpleTest_data.obj] Error 1
i have install visual studio 2015 and as well as cuda toolkit 8.0 also putted there value in environmental variables thanx in advance
댓글 수: 1
Joss Knight
2017년 11월 4일
Try adding CUDA_BIN_PATH to your PATH environment variable? It doesn't seem to be being found successfully. You can tell by attempting to run nvcc from a command prompt and seeing if Windows can find it.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!