Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/p-costa/first-timer

Simple timing routines to be used in codes which use MPI and possibly CUDA/OpenACC using NVTX markers
https://github.com/p-costa/first-timer

fortran mpi nvtx timer

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

### Description

Timing module to be used in codes which use MPI and possibly CUDA/OpenACC using [NVTX](https://docs.nvidia.com/nvtx/index.html) 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](https://github.com/wcdawn/ftime), and adapted the NVTX bindings in [maxcuda/NVTX_Example](https://github.com/maxcuda/NVTX_example).