error compiling c build error in gpu coder matlab 2017b

8 visualizaciones (últimos 30 días)
ARSALAN RIAZ
ARSALAN RIAZ el 3 de Nov. de 2017
Comentada: Joss Knight el 4 de Nov. de 2017
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 comentario
Joss Knight
Joss Knight el 4 de Nov. de 2017
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with GPU Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by