Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/p-costa/first-timer
- Owner: p-costa
- License: mit
- Created: 2022-07-15T08:35:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T16:25:04.000Z (over 1 year ago)
- Last Synced: 2024-01-29T14:15:30.905Z (about 1 year ago)
- Topics: fortran, mpi, nvtx, timer
- Language: Fortran
- Homepage:
- Size: 67.4 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).