pub struct HostIsaDot { /* private fields */ }Expand description
Host-ISA float dot product: portable scalar vs AVX (when detected).
Implementations§
Source§impl HostIsaDot
impl HostIsaDot
Sourcepub fn run_portable(&self) -> f32
pub fn run_portable(&self) -> f32
Portable scalar dot.
Sourcepub fn run_host_isa(&self) -> f32
pub fn run_host_isa(&self) -> f32
Host-ISA path.
Sourcepub fn verify_correctness(&self, rel_tol: f32) -> bool
pub fn verify_correctness(&self, rel_tol: f32) -> bool
Relative agreement within tolerance.
Auto Trait Implementations§
impl Freeze for HostIsaDot
impl RefUnwindSafe for HostIsaDot
impl Send for HostIsaDot
impl Sync for HostIsaDot
impl Unpin for HostIsaDot
impl UnsafeUnpin for HostIsaDot
impl UnwindSafe for HostIsaDot
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