pub struct BackendSummary {
pub backend: String,
pub legality: Option<Legality>,
pub fused_ops: usize,
pub missed_fusions: usize,
pub budget: Option<Budget>,
}Expand description
Per-backend rollup: fusion coverage (always) + execution legality (when the backend is compiled in) + resource budget.
Fields§
§backend: String§legality: Option<Legality>None when this backend isn’t compiled into the build — fusion coverage
is still reported; execution legality is not.
fused_ops: usizeCount of fused ops produced by the fusion pipeline for this target.
missed_fusions: usize§budget: Option<Budget>None when the graph did not verify — a budget computed from a graph
that is not well-formed is a number nobody should act on.
Trait Implementations§
Source§impl Clone for BackendSummary
impl Clone for BackendSummary
Source§impl Debug for BackendSummary
impl Debug for BackendSummary
Auto Trait Implementations§
impl Freeze for BackendSummary
impl RefUnwindSafe for BackendSummary
impl Send for BackendSummary
impl Sync for BackendSummary
impl Unpin for BackendSummary
impl UnsafeUnpin for BackendSummary
impl UnwindSafe for BackendSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more