pub struct Resolved {
pub device: Device,
pub chain: Vec<ClassInfo>,
pub planning: Vec<ClassInfo>,
pub rules: ClassRules,
pub sources: ClassSources,
pub availability: Availability,
pub families: Families,
pub roofline: DeviceRoofline,
pub without_fp4: BTreeSet<NodeIdx>,
pub exec: Vec<Option<Exec>>,
}Expand description
2026-09-30: A device’s class, resolved for one model.
Fields§
§device: Device2026-09-30: The device.
chain: Vec<ClassInfo>2026-09-30: The class and its ancestors, own first.
planning: Vec<ClassInfo>2026-09-30: The classes rules and families come from (planning_chain).
rules: ClassRules2026-09-30: The class’s rules.
sources: ClassSources2026-09-30: The class’s sources for the model.
availability: Availability2026-09-30: What the device can run.
families: Families2026-09-30: The families, available on the device, with the class’s points.
roofline: DeviceRoofline2026-09-30: Roofline constants.
without_fp4: BTreeSet<NodeIdx>2026-10-01: The model’s NVFP4-activation nodes the class compiles no FP4 block-scale
kernel for (without_fp4_kernel).
exec: Vec<Option<Exec>>2026-10-01: How each node of the model runs here (node_exec; None: reads no
weight). Its execution columns, its “FP4 costing” row and its cost all read this.
Implementations§
Source§impl Resolved
impl Resolved
Sourcepub fn route_list(&self) -> &[RuntimeRoute]
pub fn route_list(&self) -> &[RuntimeRoute]
2026-09-30: The runtime routes, empty for a class without any.
Sourcepub fn roofline_of(&self, n: NodeIdx) -> Roofline
pub fn roofline_of(&self, n: NodeIdx) -> Roofline
2026-10-01: The constants node n is costed with: the device’s, with the NVFP4 slot
(which node_cost reads only for an NVFP4 activation) at the peak of the node’s
execution.
Sourcepub fn fp4_costing(&self, c: &Circuit) -> String
pub fn fp4_costing(&self, c: &Circuit) -> String
2026-10-01: The report’s “FP4 costing”, read from the nodes’ executions: the device’s note
where it has no FP4 MMA; otherwise native only when every NVFP4-activation op the report
costs in c runs on it, and the ops that do not named with the path they take.