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 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