pub enum MathLib {
ISPCDefault,
Fast,
SVML,
System,
}Expand description
Different math libraries that ISPC can use for computations.
Variants§
ISPCDefault
Use ispc’s built-in math functions (the default).
Fast
Use high-performance but lower-accuracy math functions.
SVML
Use the Intel(r) SVML math libraries.
System
Use the system’s math library (may be quite slow).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MathLib
impl RefUnwindSafe for MathLib
impl Send for MathLib
impl Sync for MathLib
impl Unpin for MathLib
impl UnwindSafe for MathLib
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