Can GPU Coder be used to generate code to the Nvidia Jetson Xavier on Windows?
1 view (last 30 days)
Show older comments
Joseph Rivera
on 19 Sep 2019
Answered: Hariprasad Ravishankar
on 11 Oct 2019
I'm trying to run this example: https://www.mathworks.com/help/gpucoder/examples/tensorrt-target.html
I just finished setting up CUDA and cuDNN, but not TensorRT and ran this code to check it anyways:
envCfg = coder.gpuEnvConfig('host');
envCfg.DeepLibTarget = 'tensorrt';
envCfg.DeepCodegen = 1;
envCfg.Quiet = 1;
coder.checkGpuInstall(envCfg);
What was returned was this:
Error using coder.checkGpuInstall (line 32)
One or more of the system checks did not pass, with the following errors ...
TensorRT Environment: (TensorRT is not supported on this platform. It is only supported on Linux operating
systems.)
Is it true that I need to switch over to linux to run TensorRT? I thought that both Windows and Linux were supported.
1 Comment
Walter Roberson
on 19 Sep 2019
Speculation: it might be a version difference, as I notice you are using R2019a.
Unfortunately my license does not permit me to look at the archived documentation for GPU Coder to check release requirements.
Accepted Answer
Hariprasad Ravishankar
on 11 Oct 2019
Hi Joseph,
GPU Coder added support for TensorRT library on Windows host in R2019b.
Please find the release notes here:
However, you if you are interested in targeting Jetson boards from Windows host using the GPU Coder Support Package for NVIDIA GPUs in R2019a, you can do so by updating the software support package to the latest version.
Hari
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with GPU Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!