https://github.com/cwsmith/parsekokkosmemevents
generate memory usage plots from kokkos-tools MemoryEvents output
https://github.com/cwsmith/parsekokkosmemevents
kokkos
Last synced: 3 months ago
JSON representation
generate memory usage plots from kokkos-tools MemoryEvents output
- Host: GitHub
- URL: https://github.com/cwsmith/parsekokkosmemevents
- Owner: cwsmith
- License: bsd-3-clause
- Created: 2019-12-16T20:59:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-19T21:43:48.000Z (almost 6 years ago)
- Last Synced: 2025-03-01T00:39:12.282Z (7 months ago)
- Topics: kokkos
- Language: Python
- Homepage:
- Size: 160 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parseKokkosMemEvents
The following code parses output from [kokkos-tools MemoryEvents](https://github.com/kokkos/kokkos-tools/wiki/MemoryEvents) to create an area plot (example below) that is grouped by the highest consuming 'regions' (defined by the Kokkos Profiling APIs `pushRegion(...)` and `popRegion(...)`).
Portions of the code are specific to the [pumipic](https://github.com/SCOREC/pumi-pic), its dependencies, and the profiling regions it defines.

## dependencies
python3 with `pyparsing`, `pandas`, and `matplotlib`
## run
`python ./memEventParse.py /path/to/h##n##-####.mem_events #MemoryRegionsToReport /path/to/plot.png`