ROCm / rocprofiler-compute

Advanced Profiling and Analytics for AMD Hardware
https://rocm.docs.amd.com/projects/omniperf/en/latest/
MIT License
135 stars 49 forks source link

Bottleneck Characterization #379

Open coleramos425 opened 4 months ago

coleramos425 commented 4 months ago

This PR builds off of #242 which added "Bottleneck Characterization" to Omniperf, consisting of

I have modified the code so that the characterization and plotting modules match Omniperf's class based structure. See original PR for the feature's methodology and docs

Usage

To use the "Bottleneck Characterization" feature, just ensure omnitrace (specifically omnitrace-instrument) is available on your PATH. Omniperf will automatically run instrumentation as part of its profiling pipeline (disable using --no-trace). You can find your .proto output file in the standard Omniperf output directory.

Use analyze mode to generate the output plots (.pdf versions will also be saved by default). If for whatever reason you'd like to explicitly specify a .proto trace file you can do so in analysis using the --trace flag.

omniperf analyze -p workloads/dummy/MI200 --trace dummy_app.proto --gui

You'll notice the standalone GUI view now highlights these two plots in the previously empty top section of the webpage image

Todo