Why does "coder.checkGpuInstall" fail with an error "emlc:compilationError" on the "Test Basic Code Generation" step?

After installing GPU Coder, I ran the "coder.checkGpuInstall" function. This function returned:
>> coder.checkGpuInstall
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : PASSED
Basic Code Generation : FAILED (Test GPU code generation failed with the error 'emlc:compilationError'. View report for further information: View report)
Why is this last test "FAILED"? 

 採用された回答

This error may be indicative of an incompatible compiler. You can check which C++ compiler is being used by executing: 
>> mex -setup c++
on the command line. The GPU Coder setup documentation lists the only supported compilers for GPU Coder.
Another possible source of this error message for Deep Learning basic code generation is an incorrect cuDNN version. Check that you are using the specified version of cuDNN from the
.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with GPU Coder についてさらに検索

製品

リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by