Skip to main content

Module roofline

Module roofline 

Source
Expand description

Runtime roofline model derived from contract YAML.

Reads roofline-model-v1.yaml and provides performance ceiling calculations. Consumer crates use this instead of hardcoded formulas. Section 24: Deep Stack Integration.

Structs§

HardwareProfile
Hardware profile for roofline calculation.
RooflineCeiling
Performance ceilings derived from the roofline contract.

Enums§

Bottleneck
Whether the workload is memory-bandwidth or compute bound.

Functions§

compute_roofline
Compute roofline ceilings from contract equations + hardware profile.
load_roofline_contract
Try to load roofline contract from a standard path. Returns the contract description if found, None if not.