pub struct Fp8QuantPick {
pub kernel: KernelHandle,
pub grid: [u32; 3],
pub twin: bool,
pub reject: Option<&'static str>,
pub requested: bool,
}Expand description
Which kernel this launch runs, on what grid, and why the other one did not.
Entry point AND grid together, which is the invariant Fp8ActQuant was
introduced for: the two kernels need different grids, and a verdict that
handed back only a handle would let one kernel reach the other’s grid.
No PartialEq: KernelHandle is a foreign newtype without one, and the
thing a test wants to compare is the VERDICT (twin, reject, grid),
not two opaque handles.
Fields§
§kernel: KernelHandle§grid: [u32; 3]§twin: booltrue when kernel is the Hopper twin.
reject: Option<&'static str>None when the twin runs; the named guard when the parent does.
requested: boolWhat the lever said, carried so the log does not read it a second time.
Trait Implementations§
Source§impl Clone for Fp8QuantPick
impl Clone for Fp8QuantPick
Source§fn clone(&self) -> Fp8QuantPick
fn clone(&self) -> Fp8QuantPick
Returns a duplicate of the value. Read more
1.0.0 · 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 Fp8QuantPick
impl Debug for Fp8QuantPick
impl Copy for Fp8QuantPick
Auto Trait Implementations§
impl Freeze for Fp8QuantPick
impl RefUnwindSafe for Fp8QuantPick
impl Send for Fp8QuantPick
impl Sync for Fp8QuantPick
impl Unpin for Fp8QuantPick
impl UnwindSafe for Fp8QuantPick
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