ROCm profiler basic tutorial
Instalation
Normally it comes with ROCm so you dont need to install it
Example usage
Details in the video I made below, but here is quick description
- Input.xml is your configuration file for what type of metrics you want in your profile
- ‘timestamp on’ is for timestamps
- ‘basenames on’ to avoid having the full long names and a clutter in your profiling results
- ‘stats’ is kernel timing info
- ‘test.sh’ is the script you want to profile
rocprof -i /home/xeon/github/rocprofiler/test/tool/input.xml --timestamp on --basenames on --stats './test.sh'