Tx2 CUDA 9.0 nsight


I’m trying to use nsight in Tx2.
And i’m fallowing 'https://devblogs.nvidia.com/cuda-jetson-nvidia-nsight-eclipse-edition/ ’ this link.

But this link explained only for CUDA 8.0 and CUDA 6.5

Is there have any solution for CUDA 9.0 ?


It’s similar.

For CUDA9.0, please get host and tegra installed with JetPack3.2.1/3.3.
And replace the library path for CUDA 9.0.

$ export PATH=/usr/local/cuda-9.0/bin:PATH export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64:$LD_LIBRARY_PATH


Thank you for fast reply

But i have one more question.

I can’t pass through below things

2. Run dpkg to install and update the repo meta-data:

For Jetson TX1/TX2, use CUDA 8:

sudo dpkg -i cuda-repo-ubuntu1404-8-0-local-ga2_8.0.61-1_amd64.deb sudo apt-get update


Hi I tried the same as you posted in #2
but after that when I enter nsight in terminal it is showing

bash: nsight: command not found

I have NVIDIA Cuda 9.0 which is installed during the flashing Jetson Tx2
but I cant find any nsight Eclipse tools in that toolkit

This is not valid on a Jetson:

sudo dpkg -i cuda-repo-ubuntu1404-8-0-local-ga2_8.0.61-1_<b>amd64</b>.deb

amd64 is for a PC host and is not capable of running on a Jetson. You need the arm64 version. Keep in mind that JetPack knows about both versions because it is able to install to both the host and the Jetson…for whatever reason, you got the wrong one.

Also, some tools install to a subdirectory of “/usr/local/”. This might not be in your default search path.

Hi Linuxdev
Where can i find arm64 version?
I searched in all the subdirectory bu there is no nsight tool

Roikyoun did you find any solution?

I still don’t know how to use nsight in Tx2 … so …

Now I’m using DDD for debug tool instead of Nsight.

It’s little hard to read the source code in DDD environment

(ex text colors are all black -_- I don’t know how to change)

but useful i think :)

and using nvprof for profiling code.

The arm64 version is only via JetPack.

Nsight eclipse is also installed via JetPack, and is intended to run on the PC host while doing cross-platform targeted at arm64 (nsight does not run directly on the Jetson).

FYI, if you do command line debugging, I like cgdb more than GUI debugger frontends (especially on wide screen). See: