Error using coder.checkGpuInstall ( Test GPU code generation failed with the error 'emlc:compilationError' )

A connection is established with Nvidia Jetson nano but, when tried to use the hardware object, we are facing with the below Error.
hwobj = jetson('hostname/ipaddress','username','password');
envCfg = coder.gpuEnvConfig('jetson');
envCfg.DeepLibTarget = 'cudnn';
envCfg.DeepCodegen = 1;
envCfg.HardwareObject = hwobj;
envCfg.Quiet = 1;
coder.checkGpuInstall(envCfg)
Cuda and cudnn not recognized:
Also installed Microsoft Visual studio, but the error is still not resolved.
How do I solve this error?
Thanks in advance!

1 个评论

Hi Sainath,
The first check is on the Jetson and the second check is on the host. in the first check, you need to know where the issue occurred by making the envCfg.Quiet to 0 and running the checkGPUInstall(envCfg) again. Please let us know the output of this command, so that we could help.
Thanks,
Ramakrishna

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with GPU Coder 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by