Skip to content

Instantly share code, notes, and snippets.

View mrprajesh's full-sized avatar
😎
Busy coding 🥇

Rajesh Pandian M mrprajesh

😎
Busy coding 🥇
View GitHub Profile
@mrprajesh
mrprajesh / LearnNvprof.md
Last active January 9, 2024 02:59
Learn nvprof - Profiling CUDA Programs

nvprof - NVCC Profiler

It is Nvidia's Profiler, profiles any executable including CUDA programs.

How to use it?

nvprof ./executable

In case if you want the obsolute url /usr/local/cuda/bin/nvprof or /usr/local/cuda-<MAJOR.minor>/bin/nvprof where MAJOR.minor is your CUDA version installed.