SkillAgentSearch skills...

Roofline

A simple script to plot the Roofline model for given HW platforms and applications

Install / Use

/learn @mohamed/Roofline
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Roofline.py

This is a simple script to plot the Roofline model of given HW platforms and given applications. The script can take its input from:

  1. stdin: In this case, it reads first the HW characteristics followed by a EOF. Then, you will be prompted to enter the applications' intensities followed by an EOF.
  2. files: In this case, it reads two comma-separated values (CSV) files; one for HW and the other for the applications.

In addition, it supports plotting different implementations per application. In this case, the different implementations are provided as pairs of name, throughput_in_gflops after the application intensity (i.e., additional values in the csv file). For an example, see apps.csv.

Requirements

You need:

  • Python 3.6 or higher with: numpy and matplotlib. Tested with Python 3.6 and 3.11

Screenshot

Example

License

BSD license shown in LICENSE

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated16d ago
Forks2

Languages

Python

Security Score

90/100

Audited on Mar 17, 2026

No findings