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

22 views (last 30 days)
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 Comment
Ramakrishna Mandalapu
Ramakrishna Mandalapu on 17 Jan 2023
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

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with GPU Coder in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!