Struct gemm_common::simd::V3Half
source · pub struct V3Half { /* private fields */ }
Trait Implementations§
source§impl MixedSimd<f16, f16, f16, f32> for V3Half
impl MixedSimd<f16, f16, f16, f32> for V3Half
const SIMD_WIDTH: usize = 4usize
type LhsN = [f16; 4]
type RhsN = [f16; 4]
type DstN = [f16; 4]
type AccN = [f32; 4]
fn try_new() -> Option<Self>
fn mult(self, lhs: f32, rhs: f32) -> f32
fn mult_add(self, lhs: f32, rhs: f32, acc: f32) -> f32
fn from_lhs(self, _lhs: f16) -> f32
fn from_rhs(self, _rhs: f16) -> f32
fn from_dst(self, _dst: f16) -> f32
fn into_dst(self, _acc: f32) -> f16
fn simd_mult_add( self, _lhs: Self::AccN, _rhs: Self::AccN, _acc: Self::AccN ) -> Self::AccN
fn simd_from_lhs(self, _lhs: Self::LhsN) -> Self::AccN
fn simd_from_rhs(self, _rhs: Self::RhsN) -> Self::AccN
fn simd_splat(self, _lhs: f32) -> Self::AccN
fn simd_from_dst(self, dst: Self::DstN) -> Self::AccN
fn simd_into_dst(self, _acc: Self::AccN) -> Self::DstN
fn vectorize<F: NullaryFnOnce>(self, _f: F) -> F::Output
fn add(self, _lhs: f32, _rhs: f32) -> f32
fn simd_mul(self, _lhs: Self::AccN, _rhs: Self::AccN) -> Self::AccN
fn simd_add(self, _lhs: Self::AccN, _rhs: Self::AccN) -> Self::AccN
impl Copy for V3Half
Auto Trait Implementations§
impl Freeze for V3Half
impl RefUnwindSafe for V3Half
impl Send for V3Half
impl Sync for V3Half
impl Unpin for V3Half
impl UnwindSafe for V3Half
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> 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