#[non_exhaustive]pub enum CuestMathMode {
Default,
NativeFp64,
}Expand description
cuEST math mode (see CuestContext::math_mode).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
Math mode is heuristically chosen per function for maximum efficiency; some results may use mixed precision arithmetic.
NativeFp64
Native FP64 compute is used everywhere.
Trait Implementations§
Source§impl Clone for CuestMathMode
impl Clone for CuestMathMode
impl Copy for CuestMathMode
Source§impl Debug for CuestMathMode
impl Debug for CuestMathMode
impl Eq for CuestMathMode
Source§impl Hash for CuestMathMode
impl Hash for CuestMathMode
Source§impl PartialEq for CuestMathMode
impl PartialEq for CuestMathMode
impl StructuralPartialEq for CuestMathMode
Auto Trait Implementations§
impl Freeze for CuestMathMode
impl RefUnwindSafe for CuestMathMode
impl Send for CuestMathMode
impl Sync for CuestMathMode
impl Unpin for CuestMathMode
impl UnsafeUnpin for CuestMathMode
impl UnwindSafe for CuestMathMode
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