How to use NVIDIA Nsight: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
 
mNo edit summary
 
Line 1: Line 1:
<seo title="NVIDIA Nsight | How to use NVIDIA Nsight | RidgeRun Developer" titlemode="replace" metakeywords="OpenCV CUDA Streams, OpenCV, CUDA, OpenCV CUDA, CUDA Streams, NVIDIA Nsight, CUDA Streams pipelining, OpenCV CUDA Streams example, NVIDIA Nsight program, Nsight program, CUDA trace, Nsight compute, Nsight Graphics, Nsight Systems"  metadescription="This wiki page from RidgeRun is about OpenCV CUDA Streams example, profiling with NVIDIA Nsight and understanding CUDA Streams pipelining"></seo>
{{#seo:
 
|title=How to use NVIDIA Nsight
|title_mode=replace
|description={{{description|This wiki page from RidgeRun is about OpenCV CUDA Streams example, profiling with NVIDIA Nsight and understanding CUDA Streams pipelining}}}
}}
{{NVIDIA Pref Partner logo and RR Contact}}
{{NVIDIA Pref Partner logo and RR Contact}}


Line 19: Line 22:
'''2. <u>Add executions permission</u>'''
'''2. <u>Add executions permission</u>'''


<source lang="bash">
<syntaxhighlight lang="bash">
cd ~/Downloads
cd ~/Downloads
chmod +x NVIDIA_Nsight_Graphics_2020.3.0.20148.run
chmod +x NVIDIA_Nsight_Graphics_2020.3.0.20148.run
</source>
</syntaxhighlight>


'''3. <u>Start the installation</u>'''
'''3. <u>Start the installation</u>'''


Follow the instructions and settings with the command-line install wizard
Follow the instructions and settings with the command-line install wizard
<source lang="bash">
<syntaxhighlight lang="bash">
./NVIDIA_Nsight_Graphics_2020.3.0.20148.run
./NVIDIA_Nsight_Graphics_2020.3.0.20148.run
</source>
</syntaxhighlight>


== Execution ==
== Execution ==
Line 39: Line 42:
It can also be executed from command line with:
It can also be executed from command line with:


<source lang="bash">
<syntaxhighlight lang="bash">
nsight-sys
nsight-sys
</source>
</syntaxhighlight>


== Usage ==
== Usage ==


'''1. <u>Create a new project</u>'''
'''1. <u>Create a new project</u>'''
<source lang="bash">
<syntaxhighlight lang="bash">
File -> New Project
File -> New Project
</source>
</syntaxhighlight>


'''2. <u>Select a target for profiling</u>'''
'''2. <u>Select a target for profiling</u>'''
Line 82: Line 85:
* [[How_to_use_OpenCV_CUDA_Streams | How to use OpenCV CUDA Streams and Analyze Result with NVIDIA Nsight]]
* [[How_to_use_OpenCV_CUDA_Streams | How to use OpenCV CUDA Streams and Analyze Result with NVIDIA Nsight]]


==Contact Us==
{{ContactUs}}
{{ContactUs}}


[[Category:HowTo]][[Category:GStreamer]][[Category:Jetson]][[Category:JetsonNano]][[Category:JetsonTX2]][[Category:NVIDIA Xavier]][[Category:JetsonXavierNX]][[Category:NVIDIA Jetson Orin]]
[[Category:HowTo]][[Category:GStreamer]][[Category:Jetson]][[Category:JetsonNano]][[Category:JetsonTX2]][[Category:NVIDIA Xavier]][[Category:JetsonXavierNX]][[Category:NVIDIA Jetson Orin]]

Latest revision as of 19:42, 6 December 2024




Introduction to NVIDIA Nsight

NVIDIA Developer Tools are a collection of applications, spanning desktop and mobile targets, which enable developers to build, debug, profile, and develop class-leading and cutting-edge software that utilizes the latest visual computing hardware from NVIDIA. The package includes Nsight Systems, Nsight compute, and Nsight Graphics.

Installation

1. Download the required installation file

Go to the NVIDIA Developer Center - Developer Tools and download the .run package.

Select the .run package in the Nsight Systems tab for Linux installation. (It is also available for MacOS and Windows).


2. Add executions permission

cd ~/Downloads
chmod +x NVIDIA_Nsight_Graphics_2020.3.0.20148.run

3. Start the installation

Follow the instructions and settings with the command-line install wizard

./NVIDIA_Nsight_Graphics_2020.3.0.20148.run

Execution

Search in the program list the Nsight Systems link:

It can also be executed from command line with:

nsight-sys

Usage

1. Create a new project

File -> New Project

2. Select a target for profiling


3. Select data to be collected

In the following example, CUDA trace and information options are selected, but any other option such as OpenGL or MPI can be selected as well.


4. Specify program options

Insert the binary program name and the path to it:


5. Start the profiling

Click the Start button to start the profiling.

Considerations:

  • The profiling process does not exit automatically and should be manually stopped.
  • To avoid errors in the report the program that is being profiled should not end abruptly.
  • It is preferred to measure a portion of execution time.
  • The process can be stopped even if the program that is being profiled has not ended, and Nsight will generate valid results.

Report Analysis

You can refer to the following example to analyze the result in a sample application:

Contact Us



For direct inquiries, please refer to the contact information available on our Contact page. Alternatively, you may complete and submit the form provided at the same link. We will respond to your request at our earliest opportunity.


Links to RidgeRun Resources and RidgeRun Artificial Intelligence Solutions can be found in the footer below.