#[repr(i32)]pub enum cutensorMgAlgo_t {
CUTENSORMG_ALGO_DEFAULT = -1,
}Expand description
Represents the selected algorithm when planning for a contraction operation.
Variants§
CUTENSORMG_ALGO_DEFAULT = -1
Lets the internal heuristic choose.
Trait Implementations§
Source§impl Clone for cutensorMgAlgo_t
impl Clone for cutensorMgAlgo_t
Source§fn clone(&self) -> cutensorMgAlgo_t
fn clone(&self) -> cutensorMgAlgo_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 cutensorMgAlgo_t
Source§impl Debug for cutensorMgAlgo_t
impl Debug for cutensorMgAlgo_t
impl Eq for cutensorMgAlgo_t
Source§impl From<cutensorMgAlgo_t> for i32
impl From<cutensorMgAlgo_t> for i32
Source§fn from(enum_value: cutensorMgAlgo_t) -> Self
fn from(enum_value: cutensorMgAlgo_t) -> Self
Converts to this type from the input type.
Source§impl Hash for cutensorMgAlgo_t
impl Hash for cutensorMgAlgo_t
Source§impl Ord for cutensorMgAlgo_t
impl Ord for cutensorMgAlgo_t
Source§fn cmp(&self, other: &cutensorMgAlgo_t) -> Ordering
fn cmp(&self, other: &cutensorMgAlgo_t) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cutensorMgAlgo_t
impl PartialEq for cutensorMgAlgo_t
Source§fn eq(&self, other: &cutensorMgAlgo_t) -> bool
fn eq(&self, other: &cutensorMgAlgo_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cutensorMgAlgo_t
impl PartialOrd for cutensorMgAlgo_t
impl StructuralPartialEq for cutensorMgAlgo_t
Source§impl TryFrom<i32> for cutensorMgAlgo_t
impl TryFrom<i32> for cutensorMgAlgo_t
Source§type Error = TryFromPrimitiveError<cutensorMgAlgo_t>
type Error = TryFromPrimitiveError<cutensorMgAlgo_t>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for cutensorMgAlgo_t
impl TryFromPrimitive for cutensorMgAlgo_t
const NAME: &'static str = "cutensorMgAlgo_t"
type Primitive = i32
type Error = TryFromPrimitiveError<cutensorMgAlgo_t>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for cutensorMgAlgo_t
impl RefUnwindSafe for cutensorMgAlgo_t
impl Send for cutensorMgAlgo_t
impl Sync for cutensorMgAlgo_t
impl Unpin for cutensorMgAlgo_t
impl UnsafeUnpin for cutensorMgAlgo_t
impl UnwindSafe for cutensorMgAlgo_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