Skip to content

JorgeG94/roofline_plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roofline

This is a very simple script to plot roofline plots based upon https://github.com/mohamed/roofline. Example files are included

Requirements

  • Python 3.6 or greater with: numpy and matplotlib

apps.csv

This file contains the application you have data from that you wish to plot. The file is structured as:

name, AI, FLOPS, 0

The fourth column is not used at the moment.

hw.csv

This file contains the peak performance and bandwidth for the architectures you are interested in doing the roofline analysis. The file is structured as

name, peak performance, peak bandwidth

How to run

Peak bandwidth must be specified in GB/s Peak performance must be specified in GFLOP/s Arithemtic intensity is specified in FLOP/byte Performance is specified in GFLOP/s

python3 roofline.py -i hw.csv -a apps.csv

About

Simple Roofline Plotting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages