Introduction

Welcome to NVIDIA Nsight Visual Studio Edition, a development environment for CUDA applications, integrated into Microsoft Visual Studio.

NVIDIA Nsight Visual Studio Edition User Guide

NVIDIA Nsight Visual Studio Edition is a development environment for CUDA applications running on NVIDIA GPUs, which is integrated into Microsoft Visual Studio.

With NVIDIA Nsight™ VSE , you can use the NVIDIA Nsight™ VSE CUDA Debugger in Microsoft Visual Studio[1] 2017, 2019, or 2022.

The NVIDIA Nsight™ VSE tools extend the debugging capabilities of Visual Studio to support GPU computing. NVIDIA Nsight™ VSE is useful in several different application areas, including:

  • Game development,

  • High-performance computing and supercomputing, and

  • Workstation and content creation software.

[1] Support for Visual Studio 2015, deprecated since 2020.2.0, has been dropped as of 2020.3.0.

CUDA Debugger

The CUDA Debugger helps you debug applications that use the Compute Unified Device Architecture (CUDA). Along with debugging native CPU code, you can set breakpoints in CUDA source code, inspect memory, view the values of local variables, perform memory checks, as well as other common debugging tasks. You can use the CUDA Debugger with applications built with the CUDA Runtime (CUDART) API or with the CUDA Driver API.

New Features in NVIDIA Nsight Visual Studio Edition 2024.1.1

The 2024.1.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.4 Update 1.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2024.1.0

The 2024.1.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.4.

      • Support for Windows Server 2019, deprecated since Nsight VSE 2023.3.0 and CTK 12.3.0, has been dropped as of 2024.1.0 and 12.4.0.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2023.2.2

The 2023.2.2 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.3 Update 2.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2023.2.1

The 2023.2.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.2 Update 1.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2023.2.0

The 2023.2.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.2.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2023.1.1

The 2023.1.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.1 Update 1.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2023.1.0

The 2023.1.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.1.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2022.4.1

The 2022.4.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.0 Update 1.

    • Adds support for the latest NVIDIA GPUs, including AD104, AD106, and AD107.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2022.4.0

The 2022.4.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 12.0.

      • While WSL2 is supported by the CUDA Toolkit 12.0, Nsight Visual Studio Edition doesn’t support debugging in the Linux subsystem.

      • Supports CNPv2.

      • Resource View now shows CUDA Stream Priority Attribute.

    • Adds support for the latest NVIDIA GPUs, including AD104.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2022.3.0

The 2022.3.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.8.

    • Adds support for the latest NVIDIA GPUs, including AD102, AD103, and GH100.

    • NVIDIA Tools Extension (NVTX) will not be installed by the Nsight Visual Studio installer starting with the next release. Please refer to https://docs.nvidia.com/nvtx and https://github.com/NVIDIA/NVTX for set up instructions.

  • CUDA Debugger

    • Supports lazy function loading, which shortens time to first breakpoint. Resource view indicates if each function has been loaded.

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2022.2.1

The 2022.2.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.7 Update 1.

New Features in NVIDIA Nsight Visual Studio Edition 2022.2.0

The 2022.2.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.7.

    • Adds support for the latest NVIDIA Ampere GPUs, including GA103.

New Features in NVIDIA Nsight Visual Studio Edition 2022.1.1

The 2022.1.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • New support for Visual Studio 2022, in addition to previous support for VS2017 and VS2019.

  • CUDA Debugger

    • System Info window is not available when using Visual Studio 2022.

    • Core dump files (.nvcudmp) are not recognized when using Visual Studio 2022.

New Features in NVIDIA Nsight Visual Studio Edition 2022.1.0

The 2022.1.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.6.

  • CUDA Debugger

    • Improved coredump and exception handling.

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2021.3.1

The 2021.3.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.5 Update 1.

  • CUDA Debugger

    • Next-Gen Debugger supports the latest compiler enhancements in CUDA Toolkit 11.5 Update 1, improving optimized code debugging.

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2021.3.0

The 2021.3.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.5.

    • Supports Microsoft Windows 11.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2021.2.1

The 2021.2.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.4 Update 1.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2021.2.0

The 2021.2.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.4.

  • CUDA Debugger

    • Next-Gen Debugger supports the latest compiler enhancements in CUDA Toolkit 11.4, improving optimized code debugging.

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2021.1.1

The 2021.1.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.3 Update 1.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio Edition 2021.1.0

The 2021.1.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports the latest NVIDIA Ampere GPUs, including GA106.

    • Supports CUDA Toolkit 11.3.

  • CUDA Debugger

    • Allow viewing of SASS Indexed Constants.

    • Added Memory Allocations to the Resources view.

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio .3.1

The 2020.3.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.2 Update 1.

  • CUDA Debugger

    • Bug fixes and performance improvements.

New Features in NVIDIA Nsight Visual Studio .3.0

The 2020.3.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.2.

    • Support for Visual Studio 2015, which has been deprecated since 2020.2.0, has been removed. Current Visual Studio support still includes versions 2017 and 2019.

  • CUDA Debugger

    • Supports CUDA Parallel Launch.

    • Supports Visual Studio breakpoint hit count.

    • New Memory Allocations view, providing information on CUDA global memory allocations.

New Features in NVIDIA Nsight Visual Studio .2.1

The 2020.2.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Supports CUDA Toolkit 11.1 Update 1.

  • Important Fixes

    • Some builds of Visual Studio 2019 had performance impacts when Nsight Visual Studio Edition 2020.2.0 was installed (possibly from CUDA Toolkit 11.1).

New Features in NVIDIA Nsight Visual Studio .2.0

The 2020.2.0 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Support for GA102 and GA104.

    • Support CUDA Toolkit 11.1.

    • Support for Microsoft Windows 10 Hardware Scheduling.

    • Support for Visual Studio 2015 is being deprecated and will be dropped in an upcoming release. Current Visual Studio support still includes versions 2015, 2017, and 2019.

  • CUDA Debugger

    • Debugger Performance improvements, especially when loading modules.

    • New debugger option to ‘Break on API Errors’.

    • New debugger option to ‘Break on Launch’.

  • Analysis

    • Integrated Analysis Trace, deprecated since NVIDIA Nsight Visual Studio Edition 2019.2, has been removed. The replacement, stand-alone Nsight Systems tool is currently available and works with NVIDIA Nsight Integration for Visual Studio.

New Features in NVIDIA Nsight Visual Studio .1.2

The 2020.1.2 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • This was a bug fix release, primarily for fixing Debugger core dump issues.

New Features in NVIDIA Nsight Visual Studio Edition 2020.1.1

The 2020.1.1 release of NVIDIA Nsight Visual Studio Edition introduces the following:

  • General

    • Support for GA100.

    • Support CUDA Toolkit 11.0

    • Support for Microsoft Windows 10 Hardware Scheduling.

    • Windows 7 (and WinServer through 2012R2) support, deprecated since 2019.4 release, has been removed.

    • Support for sm_30 and sm_32 architectures have been dropped and sm_35, sm_37, sm_50 support has been deprecated as of the 2020.1 release. The default compilation target is now sm_52 in NVIDIA Nsight™ VSE build customizations. (CTK-865)

    • Support for Visual Studio 2013 has been dropped. NVIDIA Nsight™ VSE 2020.1.1 Visual Studio support includes versions 2015, 2017, and 2019.

    • NVIDIA Nsight Integration, a Visual Studio extension, has been introduced to allow next generation, standalone, Nsight tool integration into Visual Studio. In particular:

      • Integrated Graphics Debugging, deprecated since NVIDIA Nsight Visual Studio Edition 2019.2, has been removed and replaced by Nsight Graphics.

      • Integrated CUDA profiling, deprecated since NVIDIA Nsight Visual Studio Edition 2019.2, has been removed from the Performance Analysis tools and replaced by:

      • Integrated Analysis Trace, deprecated since NVIDIA Nsight Visual Studio Edition 2019.2, has not been removed, but will be in an upcoming release of NVIDIA Nsight™ VSE. The replacement, stand-alone Nsight Systems tool is currently available and works with NVIDIA Nsight Integration for Visual Studio.

  • CUDA Debugger

    • Added support for the NVIDIA GA100 GPU.

    • Supports for the CUDA 11.0 Toolkit.

    • Added ability to control breaking on and reporting CUDA API errors.

    • The Warp Watch view is now available in the Next-Gen Nsight Debugger.

    • The Resources view is now available in the Next-Gen Nsight Debugger.

    • CUDA Task Graph support has been added to the Next-Gen Nsight Debugger.

    • Support for Pascal has been dropped from the Legacy Nsight Debugger, but is fully supported by the Next-Gen Nsight Debugger.

  • Graphics

    • Integrated Graphics Debugging, deprecated since NVIDIA Nsight Visual Studio Edition 2019.2, has been removed and replaced by Nsight Graphics.

    • Note that NVIDIA Nsight Integration, a Visual Studio extension, has been introduced to allow Nsight Graphics integration into Visual Studio under the Nsight menu.

  • Analysis

    • Integrated CUDA profiling, deprecated since NVIDIA Nsight Visual Studio Edition 2019.2, has been removed from the Performance Analysis tools and replaced by:

    • Integrated Analysis Trace, which has been deprecated since NVIDIA Nsight Visual Studio Edition 2019.2, has not been removed, but will be in an upcoming release of NVIDIA Nsight™ VSE. However, the replacement, stand-alone Nsight Systems tool is currently available and works with NVIDIA Nsight Integration for Visual Studio integration.

    • OpenCL profiling support in NVIDIA Nsight Visual Studio Edition, deprecated as of NVIDIA Nsight™ VSE 2019.3, has been removed.

Notices

Notice

ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS, DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, “MATERIALS”) ARE BEING PROVIDED “AS IS.” NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.

Information furnished is believed to be accurate and reliable. However, NVIDIA Corporation assumes no responsibility for the consequences of use of such information or for any infringement of patents or other rights of third parties that may result from its use. No license is granted by implication of otherwise under any patent rights of NVIDIA Corporation. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all other information previously supplied. NVIDIA Corporation products are not authorized as critical components in life support devices or systems without express written approval of NVIDIA Corporation.

Trademarks

NVIDIA and the NVIDIA logo are trademarks or registered trademarks of NVIDIA Corporation in the U.S. and other countries. Other company and product names may be trademarks of the respective companies with which they are associated.