pub struct W4a16BatchmTiers { /* private fields */ }Expand description
Resolved handles for the narrow w4a16_gemv_batch{M} family.
A zero handle means “this target did not load that tier”; every consumer
must gate on .0 != 0 exactly as it did with the individual fields, and
Self::kernel returns a zero handle rather than panicking when nothing
in the family covers m.
Implementations§
Source§impl W4a16BatchmTiers
impl W4a16BatchmTiers
Sourcepub fn resolve(gpu: &dyn GpuBackend) -> Self
pub fn resolve(gpu: &dyn GpuBackend) -> Self
Resolve every tier in the family. Misses are silent zero handles — tiers 5/6/7 are absent from any target built before they existed, and dispatch degrades to the pre-existing batch4/batch8 decision.
Sourcepub fn kernel(&self, m: u32) -> KernelHandle
pub fn kernel(&self, m: u32) -> KernelHandle
Narrowest resolved tier covering m rows, or KernelHandle(0) when
this family cannot serve m.
Trait Implementations§
Source§impl Clone for W4a16BatchmTiers
impl Clone for W4a16BatchmTiers
Source§fn clone(&self) -> W4a16BatchmTiers
fn clone(&self) -> W4a16BatchmTiers
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 W4a16BatchmTiers
impl Debug for W4a16BatchmTiers
Source§impl Default for W4a16BatchmTiers
KernelHandle has no Default, so the “no NVFP4 kernels” state is spelled
out: an all-zero table, which every consumer already treats as “decline”.
impl Default for W4a16BatchmTiers
KernelHandle has no Default, so the “no NVFP4 kernels” state is spelled
out: an all-zero table, which every consumer already treats as “decline”.
impl Copy for W4a16BatchmTiers
Auto Trait Implementations§
impl Freeze for W4a16BatchmTiers
impl RefUnwindSafe for W4a16BatchmTiers
impl Send for W4a16BatchmTiers
impl Sync for W4a16BatchmTiers
impl Unpin for W4a16BatchmTiers
impl UnwindSafe for W4a16BatchmTiers
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