Skip to content

Simple timing routines to be used in codes which use MPI and possibly CUDA/OpenACC using NVTX markers

License

Notifications You must be signed in to change notification settings

p-costa/first-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Timing module to be used in codes which use MPI and possibly CUDA/OpenACC using NVTX markers.

  • Reports the average time per task for each tagged region by default, but more detailed reporting (minimum/maximum per call and/or per task) is supported too.
  • Times tagged code regions a la MATLAB (timer_tic and timer_toc) using MPI_WTIME().
  • A few different options for tagging the NVTX markers are available: prescribed color, random colored, or round-robin colormap sampling.
  • Supports host-device (a)synchrony for applications accelerated with OpenACC or CUDA (optionally using CUDA streams/OpenACC queues).
  • See the example program main.f90 illustrating the usage, and the Makefile illustrating compiling instructions.

References

The tool took inspiration from wcdawn/ftime, and adapted the NVTX bindings in maxcuda/NVTX_Example.

About

Simple timing routines to be used in codes which use MPI and possibly CUDA/OpenACC using NVTX markers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published