Skip to content

Repository files navigation

CUDA Profiler VS Code Extension

A Visual Studio Code extension that integrates CUDA profiling workflows directly into the editor.
It allows developers to launch CUDA applications, collect profiling reports using NVIDIA Nsight Systems, and visualize profiling data inside VS Code.

This extension is designed to simplify the profiling workflow for CUDA developers by reducing context switching between the terminal, Nsight tools, and the editor.


Features

  • Run CUDA applications from VS Code
  • Launch NVIDIA Nsight Systems profiling (nsys)
  • Capture profiling reports automatically
  • Display profiling results in a custom VS Code panel
  • Configurable executable and profiler paths
  • Designed for CUDA + CMake based projects
  • Refresh the view without re-running profiling

Requirements

  • VS Code
  • NVIDIA CUDA Toolkit
  • NVIDIA Nsight Systems (nsys) installed
  • A compiled CUDA executable to profile
  • Windows or Linux environment supported by Nsight Systems

⚙️ Extension Settings

This extension contributes the following settings:

Setting Description
cudaProfiler.command Command used to launch your CUDA app (required)
cudaProfiler.cwd Working directory for the run command
cudaProfiler.outputDir Directory where reports and CSV files are written
cudaProfiler.nsysPath Optional full path to nsys.exe

Example Configuration

{
  "cudaProfiler.command": ".\\build\\myapp.exe",
  "cudaProfiler.cwd": "${workspaceFolder}",
  "cudaProfiler.outputDir": ".vscode/cuda-profiler",
  "cudaProfiler.nsysPath": "C:\\Program Files\\NVIDIA Corporation\\Nsight Systems 2026.1.1\\target-windows-x64\\nsys.exe"
}

Credit: Jonathan for the extension icon

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages