Resolved

Struct Resolved 

Source
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: Device

2026-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: ClassRules

2026-09-30: The class’s rules.

§sources: ClassSources

2026-09-30: The class’s sources for the model.

§availability: Availability

2026-09-30: What the device can run.

§families: Families

2026-09-30: The families, available on the device, with the class’s points.

§roofline: DeviceRoofline

2026-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

Source

pub fn rule_list(&self) -> &[Rule]

2026-09-30: The rules, empty for a class without any.

Source

pub fn route_list(&self) -> &[RuntimeRoute]

2026-09-30: The runtime routes, empty for a class without any.

Source

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.

Source

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.

Trait Implementations§

Source§

impl Clone for Resolved

Source§

fn clone(&self) -> Resolved

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Resolved

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.