pub struct W8a8Kernels { /* private fields */ }Expand description
2026-09-28: The quantizers and the ten GEMV entry points (2 scale layouts
x the five row entries, mb1_ku8 to mb16). A handle is 0 when its module is not compiled.
Implementations§
Source§impl W8a8Kernels
impl W8a8Kernels
Sourcepub fn quant(&self, scale: W8a8Scale) -> KernelHandle
pub fn quant(&self, scale: W8a8Scale) -> KernelHandle
2026-09-30: The quantizer of scale’s layout.
Sourcepub fn quant_silu(&self, scale: W8a8Scale) -> KernelHandle
pub fn quant_silu(&self, scale: W8a8Scale) -> KernelHandle
2026-09-30: The SiLU·mul quantizer of scale’s layout.
Sourcepub fn gemv_entry(&self, scale: W8a8Scale, rows: usize) -> Option<KernelHandle>
pub fn gemv_entry(&self, scale: W8a8Scale, rows: usize) -> Option<KernelHandle>
2026-09-30: The GEMV entry of one launch of rows rows; None above one launch.
Source§impl W8a8Kernels
impl W8a8Kernels
Trait Implementations§
Source§impl Clone for W8a8Kernels
impl Clone for W8a8Kernels
Source§fn clone(&self) -> W8a8Kernels
fn clone(&self) -> W8a8Kernels
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 W8a8Kernels
impl Debug for W8a8Kernels
impl Copy for W8a8Kernels
Auto Trait Implementations§
impl Freeze for W8a8Kernels
impl RefUnwindSafe for W8a8Kernels
impl Send for W8a8Kernels
impl Sync for W8a8Kernels
impl Unpin for W8a8Kernels
impl UnwindSafe for W8a8Kernels
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