Using the Nsight IDE for CUDA-C development and debugging

Let's now learn how to use the Nsight IDE for developing CUDA-C programs. We will see how to import the program we just wrote, and compile and debug it from within Nsight. Note that there are differences between the Windows and Linux versions of Nsight, since it is effectively a plugin of the Visual Studio IDE under Windows and in the Eclipse IDE under Linux. We will cover both in the following two subsections; feel free to skip whatever operating system does not apply to you here.

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.