error compiling c build error in gpu coder matlab 2017b

8 ビュー (過去 30 日間)
ARSALAN RIAZ
ARSALAN RIAZ 2017 年 11 月 3 日
コメント済み: Joss Knight 2017 年 11 月 4 日
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
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 ExchangeGet Started with GPU Coder についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by