I have been trying to generate a cuda optimised code for jetson nano using matlab.
But I am having a major problem. The NVCC is shown as missing. The nano is also shown as a TX1 for some reason.
Checking for CUDA availability on the Target...
Checking for 'nvcc' in the target system path...
Warning: Unable to find 'nvcc' on the system path. Update the '.bashrc' script on the target to set up the required
Checking for cuDNN library availability on the Target...
Checking for TensorRT library availability on the Target...
Checking for prerequisite libraries is complete.
Gathering hardware details...
Gathering hardware details is complete.
Board name : NVIDIA Jetson TX1
CUDA Version :
cuDNN Version : 7.6
TensorRT Version : 6.0
Available Webcams :
Available GPUs :
However, when I checked the command line of the jetson, I received the following -
shane@jetsonnano:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Mon_Mar_11_22:13:24_CDT_2019
Cuda compilation tools, release 10.0, V10.0.326
Which clearly shows that NVIC is installed and that too in the correct place.
When I try to use the same command via the MATLAB interface in the Jetson nano shell using the openShell(obj) command, it shows that the NVIC is missing and the command is not defined.
Please help, I am getting a bit confused. I tried changing the bashrc file, and added the path variables etc, but to no avail.