Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 705 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 705 Bytes

parseKokkosMemEvents

The following code parses output from kokkos-tools 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, its dependencies, and the profiling regions it defines.

example of memory usage plot

dependencies

python3 with pyparsing, pandas, and matplotlib

run

python ./memEventParse.py /path/to/h##n##-####.mem_events #MemoryRegionsToReport /path/to/plot.png