We will now see how to use Nsight in Linux. You can open Nsight from either your desktop by selecting it or you can run it from a command line with the nsight command. The Nsight IDE will open. From the top of the IDE, click on File, then choose New... from the drop-down menu, and from there choose New CUDA C/C++ Project. A new window will appear, and from here choose CUDA Runtime Project. Give the project some appropriate name, and then click Next. You'll be prompted to give further settings options, but the defaults will work fine for our purposes for now. (Be sure to note where the source folder and project paths will be located in the third and fourth screens here.) You'll get to a final screen, where ...
Using Nsight with Eclipse in Linux
Get Hands-On GPU Programming with Python and CUDA now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.