0Pricing
CUDA Academy · Lesson

Annotating Code with NVTX

Naming ranges for readable timelines.

Timelines Need Labels

A raw timeline is full of anonymous bars. NVTX lets you add your own names so the profiler reads like your code. 🏷️

What NVTX Is

NVTX is NVIDIA's Tools Extension: a tiny library for marking regions and events that Nsight then draws on the timeline.

All lessons in this course

  1. Timeline View in Nsight Systems
  2. Kernel Metrics in Nsight Compute
  3. Compute-Bound vs Memory-Bound
  4. Annotating Code with NVTX
← Back to CUDA Academy