pub struct CheckOptions {
pub backends: Vec<FusionTarget>,
pub dispatch: bool,
pub fusion: bool,
pub numeric: bool,
pub repr: bool,
pub schedule: bool,
pub plan: bool,
}Expand description
What to check and against which backends.
Fields§
§backends: Vec<FusionTarget>Backends whose op claim + fusion pipeline to analyze against.
dispatch: bool§fusion: bool§numeric: bool§repr: boolProducer–consumer representation compatibility
(rlx_ir::repr_check). On by default: it is a static, device-free
check whose whole purpose is to catch representation mismatches BEFORE a
backend computes a wrong number from them.
schedule: boolPhysical-schedule quality for GPU dispatch
(rlx_gpu_dispatch::cost). Notes only — nothing here is wrong, it is
work the hardware will do and throw away.
plan: boolProgram-safety and schedule-semantics gates over the memory plan
(rlx_compile::plan_check). Errors: an overlapping live buffer does
not degrade output, it returns another tensor’s bytes.
Trait Implementations§
Source§impl Clone for CheckOptions
impl Clone for CheckOptions
Source§fn clone(&self) -> CheckOptions
fn clone(&self) -> CheckOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckOptions
impl Debug for CheckOptions
Auto Trait Implementations§
impl Freeze for CheckOptions
impl RefUnwindSafe for CheckOptions
impl Send for CheckOptions
impl Sync for CheckOptions
impl Unpin for CheckOptions
impl UnsafeUnpin for CheckOptions
impl UnwindSafe for CheckOptions
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