Basic Code Generation : FAILED
13 ビュー (過去 30 日間)
古いコメントを表示
My MATLAB environment is 2025b, CUDA version is 12.2, and VS version is 17.0 Community Edition my GPU is RTX 2080ti, which fully meets the official compatibility requirements. However, the execution of `gpucoderSetup` failed.
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
Host Compiler : PASSED
Basic Code Generation : FAILED (GPU code generation failed with an error. View report for further information: View report)
2 件のコメント
Abhipsa
2025 年 11 月 3 日
Hi @yifan, It looks like your CUDA and compiler setup are fine since mexcuda works — the failure in gpucoderSetup usually comes from GPU Coder using a slightly different toolchain.
You can try:
mex -setup C++
mex -setup C++ -client coder
coder.checkGpuInstall('full')
to confirm both MATLAB and GPU Coder are using the same Visual Studio compiler.
回答 (1 件)
参考
カテゴリ
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!