ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
Other
119 stars 45 forks source link

Enable use of custom metrics definitions w/ rocprof #6

Closed skyreflectedinmirrors closed 4 years ago

skyreflectedinmirrors commented 5 years ago

This functionality currently is difficult to achieve without creating a copy of the run_rpl.sh script in the correct directory (/opt/rocm/rocprofiler/bin/), but the documentation seems to imply that it should be possible to use custom metrics based off hardware counters not currently exposed in rocprof.

This change simply adds a flag to rpl_run.sh that, if supplied, will override the default metrics file.

eshcherb commented 4 years ago

LGTM