pub enum MathType {
Default,
TensorOp,
TensorOpAllowConversion,
FmaOnly,
}Expand description
Math-type selector for ConvolutionDescriptor::set_math_type —
controls tensor-core eligibility.
Variants§
Default
Standard FMA-only math; tensor cores not used.
TensorOp
Allow tensor-core math (Volta+).
TensorOpAllowConversion
Allow tensor-core math with implicit half-precision conversion.
FmaOnly
Strict FMA-only.
Trait Implementations§
impl Copy for MathType
impl Eq for MathType
impl StructuralPartialEq for MathType
Auto Trait Implementations§
impl Freeze for MathType
impl RefUnwindSafe for MathType
impl Send for MathType
impl Sync for MathType
impl Unpin for MathType
impl UnsafeUnpin for MathType
impl UnwindSafe for MathType
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