#[repr(i32)]pub enum RawMathType {
DefaultMath = 0,
TensorOpMath = 1,
TensorOpMathAllowConversion = 2,
FmaMath = 3,
}Expand description
Re-exports for callers that want raw type access. Math type for a convolution descriptor — controls tensor-core usage.
Variants§
DefaultMath = 0
Default math.
TensorOpMath = 1
Allow tensor-core math (Volta+).
TensorOpMathAllowConversion = 2
Allow tensor-core math with implicit f16/bf16 down-conversion.
FmaMath = 3
Strict FMA-only math.
Trait Implementations§
Source§impl Clone for cudnnMathType_t
impl Clone for cudnnMathType_t
Source§fn clone(&self) -> cudnnMathType_t
fn clone(&self) -> cudnnMathType_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for cudnnMathType_t
Source§impl Debug for cudnnMathType_t
impl Debug for cudnnMathType_t
impl Eq for cudnnMathType_t
Source§impl PartialEq for cudnnMathType_t
impl PartialEq for cudnnMathType_t
Source§fn eq(&self, other: &cudnnMathType_t) -> bool
fn eq(&self, other: &cudnnMathType_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for cudnnMathType_t
Auto Trait Implementations§
impl Freeze for cudnnMathType_t
impl RefUnwindSafe for cudnnMathType_t
impl Send for cudnnMathType_t
impl Sync for cudnnMathType_t
impl Unpin for cudnnMathType_t
impl UnsafeUnpin for cudnnMathType_t
impl UnwindSafe for cudnnMathType_t
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