#[repr(u32)]pub enum cutensorAutotuneMode_t {
CUTENSOR_AUTOTUNE_MODE_NONE = 0,
CUTENSOR_AUTOTUNE_MODE_INCREMENTAL = 1,
}Expand description
This enum determines the mode with respect to cuTENSOR’s auto-tuning capability.
Variants§
CUTENSOR_AUTOTUNE_MODE_NONE = 0
Indicates no autotuning (default); in this case the cache will help to reduce the plan-creation overhead. In the case of a cachehit: the cached plan will be reused, otherwise the plancache will be neglected.
CUTENSOR_AUTOTUNE_MODE_INCREMENTAL = 1
Indicates an incremental autotuning (i.e., each invocation of corresponding cutensorCreatePlan will create a plan based on a different algorithm/kernel; the maximum number of kernels that will be tested is defined by the cutensorPlanPreferenceAttribute_t::CUTENSOR_PLAN_PREFERENCE_INCREMENTAL_COUNT of cutensorPlanPreferenceAttribute_t). WARNING: If this autotuning mode is selected, then we cannot guarantee bit-wise identical results (since different algorithms could be executed).
Trait Implementations§
Source§impl Clone for cutensorAutotuneMode_t
impl Clone for cutensorAutotuneMode_t
Source§fn clone(&self) -> cutensorAutotuneMode_t
fn clone(&self) -> cutensorAutotuneMode_t
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for cutensorAutotuneMode_t
Source§impl Debug for cutensorAutotuneMode_t
impl Debug for cutensorAutotuneMode_t
impl Eq for cutensorAutotuneMode_t
Source§impl From<cutensorAutotuneMode_t> for u32
impl From<cutensorAutotuneMode_t> for u32
Source§fn from(enum_value: cutensorAutotuneMode_t) -> Self
fn from(enum_value: cutensorAutotuneMode_t) -> Self
Source§impl Hash for cutensorAutotuneMode_t
impl Hash for cutensorAutotuneMode_t
Source§impl Ord for cutensorAutotuneMode_t
impl Ord for cutensorAutotuneMode_t
Source§fn cmp(&self, other: &cutensorAutotuneMode_t) -> Ordering
fn cmp(&self, other: &cutensorAutotuneMode_t) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for cutensorAutotuneMode_t
impl PartialEq for cutensorAutotuneMode_t
Source§fn eq(&self, other: &cutensorAutotuneMode_t) -> bool
fn eq(&self, other: &cutensorAutotuneMode_t) -> bool
self and other values to be equal, and is used by ==.