Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 332 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 332 Bytes

Wrapper for CUDA profiler start/stop API functions. Zero dependencies.

Example:

import cudaprofile

cudaprofile.start()
# ... do expensive cuda stuff ...
cudaprofile.stop()

and run the script from nvprof or nvvp.

You may want to use nvprof with --profile-from-start-off and only call start() when desired.