AutocopLite: RPD trace visualization toolkit
Make sure you have Python 3 installed on your system. You can download Python from the official Python website.
Within the main rocmProfileData repository, cd into the autcoplite submodule directory and initialize the submodule:
git submodule update --init --recursiveThis command will initialize, fetch and checkout the submodule to the commit specified in the main repository.
To update the submodule at any time and pull the latest changes, run:
git submodule update --remoteYou can use the provided Makefile to install the dependencies into a python virtual environment named aclite. Simply run:
make installAlternatively, you can manually install the packages using pip:
pip install -r requirements.txtTo uninstall the packages and remove the virtual environment, you can use the Makefile:
make cleanor manually remove the virtual env:
rm -rf acliteUse the summmarize_rpd.py script to generate a csv file compatible with autocopLite.py
export_sqlite_to_csv('trace.rpd', 'llama_output.csv')python autocop_cli.py single_plot <csv_file> <architecture> <output_html>python autocop_cli.py single_plot llama_output.csv ROCm output_plot_rocm_standalone.htmlpython autocop_cli.py compare_plot <csv_file1> <arch1> <csv_file2> <arch2> <output_html>python autocop_cli.py compare_plot llama_output.csv ROCm llama_nvidia_output.csv Nvidia comparison_output.html