Clear Filters
Clear Filters

MATLAB GPU CODER FOR NVIDIA TEGRA X2

3 views (last 30 days)
Vasyl Varvolik
Vasyl Varvolik on 2 Nov 2017
Answered: nam dinh on 3 Apr 2018
Hello everyone! I started working with the MATLAB GPU CODER and I have a problem with running a generated project on NVIDIA TEGRA X2.
I haven't variables: LD_LIBRARY_PATH - /usr/include/opencv NVIDIA_CUDNN - /usr/local/cuDNN/lib64/ LINARO_TOOLCHAIN_4_9 or LINARO_TOOLCHAIN_4_8 - /usr/local/gcc-linaro NVIDIA_CUDA_TX2 - /usr/local/cuda-6.5-armhf/
Matlab error: Host CUDA Environment : PASSED Runtime : Passed cuFFT : Passed cuSOLVER : Passed cuBLAS : Paello everyone! I started working with the MATLAB GPU CODER and I have a problem with running a generated project on NVIDIA TEGRA X2.
I haven't variables: LD_LIBRARY_PATH - /usr/include/opencv NVIDIA_CUDNN - /usr/local/cuDNN/lib64/ LINARO_TOOLCHAIN_4_9 or LINARO_TOOLCHAIN_4_8 - /usr/local/gcc-linaro NVIDIA_CUDA_TX2 - /usr/local/cuda-6.5-armhf/
Matlab error: Host CUDA Environment : PASSED Runtime : Passed cuFFT : Passed cuSOLVER : Passed cuBLAS : Passed Code Generation : PASSED Compatible GPU : FAILED (No valid GPU devices found on the host system. Generated GPU MEX execution will not be available.) cuDNN Environment : FAILED (A 'NVIDIA_CUDNN' environment variable was not found. Set 'NVIDIA_CUDNN' to point to the root directory of a NVIDIA cuDNN installation.) Jetson TK1 Environment : FAILED (A 'NVIDIA_CUDA_TK1' environment variable was not found. This environment variable needs to be set for cross-compilation.) Jetson TX1 Environment : FAILED (A 'NVIDIA_CUDA_TX1' environment variable was not found. This environment variable needs to be set for cross-compilation.) Jetson TX2 Environment : FAILED (A 'NVIDIA_CUDA_TX2' environment variable was not found. This environment variable needs to be set for cross-compilation.)
I installed JetPack 3.0 but I do not have these files, can I have everything installed separately?
I use Ubuntu 16.04. Running an Embedded Application on the NVIDIA® Jetson TX1 Developer Kit: https://de.mathworks.com/help/gpucoder/examples/running-an-embedded-application-on-the-nvidia-r-jetson-tx1-developer-kit.html
Thank you!ssed Code Generation : PASSED Compatible GPU : FAILED (No valid GPU devices found on the host system. Generated GPU MEX execution will not be available.) cuDNN Environment : FAILED (A 'NVIDIA_CUDNN' environment variable was not found. Set 'NVIDIA_CUDNN' to point to the root directory of a NVIDIA cuDNN installation.) Jetson TK1 Environment : FAILED (A 'NVIDIA_CUDA_TK1' environment variable was not found. This environment variable needs to be set for cross-compilation.) Jetson TX1 Environment : FAILED (A 'NVIDIA_CUDA_TX1' environment variable was not found. This environment variable needs to be set for cross-compilation.) Jetson TX2 Environment : FAILED (A 'NVIDIA_CUDA_TX2' environment variable was not found. This environment variable needs to be set for cross-compilation.)
I installed JetPack 3.0 but I do not have these files, can I have everything installed separately?
I use Ubuntu 16.04. Running an Embedded Application on the NVIDIA® Jetson TX1 Developer Kit: https://de.mathworks.com/help/gpucoder/examples/running-an-embedded-application-on-the-nvidia-r-jetson-tx1-developer-kit.html
Thank you!
  1 Comment
Singh Rajput, Shivaram
Singh Rajput, Shivaram on 28 Mar 2018
Edited: Singh Rajput, Shivaram on 28 Mar 2018
Hi, I am also trying the same and have hard time understanding the right path for environment variables: NVIDIA_CUDNN ,NVIDIA_TENSORRT ,NVIDIA_CUDA_TX2 .
Can you share your experience with regard to this ? I am running ubuntu 16.04 on my host computer to run matlab. I am new to working with GPU coder and Nvidia packages.
Thank you

Sign in to comment.

Answers (1)

nam dinh
nam dinh on 3 Apr 2018
please, share with me how to the configuration. I got the error, too Thank you so much!

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!