pub enum ComputeDesc {
F32,
F64,
MinF32,
MinF64,
MinF16,
MinBf16,
Tf32,
C32F,
}Expand description
Selects the cuTENSOR mixed-precision compute path. MinF32 is
the natural pairing for f16/bf16 inputs that accumulate in f32.
Variants§
F32
CUTENSOR_R_32F — full fp32, no min-precision.
F64
CUTENSOR_R_64F — full fp64.
MinF32
CUTENSOR_R_MIN_32F — fp32 accumulation with min-precision
kernels. Default for f32 / f16 / bf16 inputs.
MinF64
CUTENSOR_R_MIN_64F — fp64 accumulation, min-precision.
MinF16
CUTENSOR_R_MIN_16F — pure half-precision compute.
MinBf16
CUTENSOR_R_MIN_16BF — pure bf16 compute.
Tf32
CUTENSOR_R_MIN_TF32 — TF32 accumulation (Ampere+).
C32F
CUTENSOR_C_32F — complex fp32 inputs/compute.
Implementations§
Trait Implementations§
Source§impl Clone for ComputeDesc
impl Clone for ComputeDesc
Source§fn clone(&self) -> ComputeDesc
fn clone(&self) -> ComputeDesc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComputeDesc
impl Debug for ComputeDesc
Source§impl Hash for ComputeDesc
impl Hash for ComputeDesc
Source§impl PartialEq for ComputeDesc
impl PartialEq for ComputeDesc
impl Copy for ComputeDesc
impl Eq for ComputeDesc
impl StructuralPartialEq for ComputeDesc
Auto Trait Implementations§
impl Freeze for ComputeDesc
impl RefUnwindSafe for ComputeDesc
impl Send for ComputeDesc
impl Sync for ComputeDesc
impl Unpin for ComputeDesc
impl UnsafeUnpin for ComputeDesc
impl UnwindSafe for ComputeDesc
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more