/parseKokkosMemEvents

generate memory usage plots from kokkos-tools MemoryEvents output

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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