Skip to content

brieflynn/autocoplite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autocoplite

AutocopLite: RPD trace visualization toolkit

Installation Instructions

Prerequisites

Make sure you have Python 3 installed on your system. You can download Python from the official Python website.

Setting Up the Project

Within the main rocmProfileData repository, cd into the autcoplite submodule directory and initialize the submodule:

git submodule update --init --recursive

This 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 --remote

You can use the provided Makefile to install the dependencies into a python virtual environment named aclite. Simply run:

make install

Alternatively, you can manually install the packages using pip:

pip install -r requirements.txt

To uninstall the packages and remove the virtual environment, you can use the Makefile:

make clean

or manually remove the virtual env:

rm -rf aclite

Generate summary csv file

Use the summmarize_rpd.py script to generate a csv file compatible with autocopLite.py

export_sqlite_to_csv('trace.rpd', 'llama_output.csv')

Standalone plot example

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.html

Comparison plot example

python 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

About

AutocopLite: RPD trace visualization toolkit

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors