code gernation error using CUDA

27 ビュー (過去 30 日間)
Abdelwahab Afifi
Abdelwahab Afifi 2020 年 1 月 2 日
コメント済み: Tomas Sab 2020 年 4 月 29 日
I'm trying code generation Using the GPU Coder App as in the folowing link:
When I check for run time issues, I get the following error message:
Warning: Selected MEX compiler 'MinGW64 Compiler (C++)' is not supported for GPU code generation. Refer to the GPU Coder documentation for a list of supported GPU MEX compilers.
In emlckernel
In emlckernel
In emlcprivate
In coder.internal.gui.codegenWrapper
In codeUnifiedProject
In codeUnifiedProject
In emlcprivate
??? Build error: C++ compiler produced errors. See the Build Log for
further details.
Code generation failed: View Error Report
How can I fix this problem?

回答 (1 件)

Divya Gaddipati
Divya Gaddipati 2020 年 1 月 8 日
Make sure the correct GPU supported compiler is installed on the machine. You will need Visual Studio to compile for GPU Coder. Please refer to the following link:
Hope this helps!
  1 件のコメント
Tomas Sab
Tomas Sab 2020 年 4 月 29 日
no. it does not help.
It is a link to "general information". Not a solution to the problem.

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

カテゴリ

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