benchmarks.SaturnOPU.plot_opu_coverage
Source: benchmarks/SaturnOPU/plot_opu_coverage.py
benchmarks.SaturnOPU.plot_opu_coverage
Generate paper-quality plots of OPU VOPACC coverage per model.
Reads the CSV output from analyze_opu_coverage.py and generates: 1. Stacked bar chart: dispatch count by type with OPU highlighting 2. Compute weight chart: assembly size by type with OPU highlighting 3. Summary comparison across models
Usage
python plot_opu_coverage.py [--csv opu_coverage_results.csv][--output-dir .]
aggregate_by_model(results)
Aggregate results per model per op_type.
load_results(csv_path)
Load analysis results from CSV.
plot_compute_weight(models, output_dir)
Bar chart: compute weight (assembly lines) by type with OPU.
plot_dispatch_breakdown(models, output_dir)
Stacked bar chart: dispatch count by type with OPU vs non-OPU.