フィルターのクリア

Compile a GPU MEX-File setup using VS2013 and CUDA 6.5

1 回表示 (過去 30 日間)
Shadi
Shadi 2014 年 9 月 18 日
編集済み: Matt J 2020 年 12 月 3 日
Error using mex nvcc warning : The 'compute_11', 'compute_12', 'compute_13', 'sm_11', 'sm_12', and 'sm_13' architectures are deprecated, and may be removed in a future release. nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/amd64/../../../VC/bin/amd64/vcvars64.bat'
I am using matlab2014a with CUDA 6.5 and VS2013
ANY ONE COULD HELP WITH THIS ERROR?
  2 件のコメント
Matt J
Matt J 2020 年 12 月 3 日
Sergey Demyanov commented:
i, Shadi,
I have the same problem. Have you found the solution?
Sergey.
Matt J
Matt J 2020 年 12 月 3 日
編集済み: Matt J 2020 年 12 月 3 日
Same problem for me as well. This is under Matlab R2018a and CUDA Toolkit 9.0 with all patches installed.

サインインしてコメントする。

回答 (2 件)

Eric
Eric 2015 年 1 月 30 日
I had the same problem and I was able to fix it. The xml file that is generated has some errors, so you need to fix them manually.
At the very end of the file, at line 135 or so, you should a line like this:
LIBPATH=""$VSROOT\VC\Lib\amd64""
What it should look like is the following:
LIBPATH="$VSROOT\VC\Lib\amd64;"
Finally, I had to manually add the "kernel32.lib" to my path. So I installed the Microsoft Windows SDK, and since I am on Windows 7, I added the path to kerel32.lib to my LIB variable, which looks like this after modification
LIB="$VSROOT\VC\ATLMFC\LIB\amd64;$VSROOT\VC\Lib\amd64;$SDKROOT\Lib\X64;$MATLABROOT\lib\$ARCH;$CUDA_LIB_PATH;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64"

Sergey Demyanov
Sergey Demyanov 2014 年 10 月 1 日
Hi, Shadi,
I have the same problem. Have you found the solution?
Sergey.

カテゴリ

Help Center および File ExchangeGPU Computing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by