Enum cudarc::cublas::sys::cublasGemmAlgo_t

source ·
#[repr(i32)]
pub enum cublasGemmAlgo_t {
Show 42 variants CUBLAS_GEMM_DFALT = -1, CUBLAS_GEMM_ALGO0 = 0, CUBLAS_GEMM_ALGO1 = 1, CUBLAS_GEMM_ALGO2 = 2, CUBLAS_GEMM_ALGO3 = 3, CUBLAS_GEMM_ALGO4 = 4, CUBLAS_GEMM_ALGO5 = 5, CUBLAS_GEMM_ALGO6 = 6, CUBLAS_GEMM_ALGO7 = 7, CUBLAS_GEMM_ALGO8 = 8, CUBLAS_GEMM_ALGO9 = 9, CUBLAS_GEMM_ALGO10 = 10, CUBLAS_GEMM_ALGO11 = 11, CUBLAS_GEMM_ALGO12 = 12, CUBLAS_GEMM_ALGO13 = 13, CUBLAS_GEMM_ALGO14 = 14, CUBLAS_GEMM_ALGO15 = 15, CUBLAS_GEMM_ALGO16 = 16, CUBLAS_GEMM_ALGO17 = 17, CUBLAS_GEMM_ALGO18 = 18, CUBLAS_GEMM_ALGO19 = 19, CUBLAS_GEMM_ALGO20 = 20, CUBLAS_GEMM_ALGO21 = 21, CUBLAS_GEMM_ALGO22 = 22, CUBLAS_GEMM_ALGO23 = 23, CUBLAS_GEMM_DEFAULT_TENSOR_OP = 99, CUBLAS_GEMM_ALGO0_TENSOR_OP = 100, CUBLAS_GEMM_ALGO1_TENSOR_OP = 101, CUBLAS_GEMM_ALGO2_TENSOR_OP = 102, CUBLAS_GEMM_ALGO3_TENSOR_OP = 103, CUBLAS_GEMM_ALGO4_TENSOR_OP = 104, CUBLAS_GEMM_ALGO5_TENSOR_OP = 105, CUBLAS_GEMM_ALGO6_TENSOR_OP = 106, CUBLAS_GEMM_ALGO7_TENSOR_OP = 107, CUBLAS_GEMM_ALGO8_TENSOR_OP = 108, CUBLAS_GEMM_ALGO9_TENSOR_OP = 109, CUBLAS_GEMM_ALGO10_TENSOR_OP = 110, CUBLAS_GEMM_ALGO11_TENSOR_OP = 111, CUBLAS_GEMM_ALGO12_TENSOR_OP = 112, CUBLAS_GEMM_ALGO13_TENSOR_OP = 113, CUBLAS_GEMM_ALGO14_TENSOR_OP = 114, CUBLAS_GEMM_ALGO15_TENSOR_OP = 115,
}

Variants§

§

CUBLAS_GEMM_DFALT = -1

§

CUBLAS_GEMM_ALGO0 = 0

§

CUBLAS_GEMM_ALGO1 = 1

§

CUBLAS_GEMM_ALGO2 = 2

§

CUBLAS_GEMM_ALGO3 = 3

§

CUBLAS_GEMM_ALGO4 = 4

§

CUBLAS_GEMM_ALGO5 = 5

§

CUBLAS_GEMM_ALGO6 = 6

§

CUBLAS_GEMM_ALGO7 = 7

§

CUBLAS_GEMM_ALGO8 = 8

§

CUBLAS_GEMM_ALGO9 = 9

§

CUBLAS_GEMM_ALGO10 = 10

§

CUBLAS_GEMM_ALGO11 = 11

§

CUBLAS_GEMM_ALGO12 = 12

§

CUBLAS_GEMM_ALGO13 = 13

§

CUBLAS_GEMM_ALGO14 = 14

§

CUBLAS_GEMM_ALGO15 = 15

§

CUBLAS_GEMM_ALGO16 = 16

§

CUBLAS_GEMM_ALGO17 = 17

§

CUBLAS_GEMM_ALGO18 = 18

§

CUBLAS_GEMM_ALGO19 = 19

§

CUBLAS_GEMM_ALGO20 = 20

§

CUBLAS_GEMM_ALGO21 = 21

§

CUBLAS_GEMM_ALGO22 = 22

§

CUBLAS_GEMM_ALGO23 = 23

§

CUBLAS_GEMM_DEFAULT_TENSOR_OP = 99

§

CUBLAS_GEMM_ALGO0_TENSOR_OP = 100

§

CUBLAS_GEMM_ALGO1_TENSOR_OP = 101

§

CUBLAS_GEMM_ALGO2_TENSOR_OP = 102

§

CUBLAS_GEMM_ALGO3_TENSOR_OP = 103

§

CUBLAS_GEMM_ALGO4_TENSOR_OP = 104

§

CUBLAS_GEMM_ALGO5_TENSOR_OP = 105

§

CUBLAS_GEMM_ALGO6_TENSOR_OP = 106

§

CUBLAS_GEMM_ALGO7_TENSOR_OP = 107

§

CUBLAS_GEMM_ALGO8_TENSOR_OP = 108

§

CUBLAS_GEMM_ALGO9_TENSOR_OP = 109

§

CUBLAS_GEMM_ALGO10_TENSOR_OP = 110

§

CUBLAS_GEMM_ALGO11_TENSOR_OP = 111

§

CUBLAS_GEMM_ALGO12_TENSOR_OP = 112

§

CUBLAS_GEMM_ALGO13_TENSOR_OP = 113

§

CUBLAS_GEMM_ALGO14_TENSOR_OP = 114

§

CUBLAS_GEMM_ALGO15_TENSOR_OP = 115

Implementations§

source§

impl cublasGemmAlgo_t

source

pub const CUBLAS_GEMM_DEFAULT: cublasGemmAlgo_t = cublasGemmAlgo_t::CUBLAS_GEMM_DFALT

source§

impl cublasGemmAlgo_t

source

pub const CUBLAS_GEMM_DFALT_TENSOR_OP: cublasGemmAlgo_t = cublasGemmAlgo_t::CUBLAS_GEMM_DEFAULT_TENSOR_OP

Trait Implementations§

source§

impl Clone for cublasGemmAlgo_t

source§

fn clone(&self) -> cublasGemmAlgo_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for cublasGemmAlgo_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for cublasGemmAlgo_t

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for cublasGemmAlgo_t

source§

fn cmp(&self, other: &cublasGemmAlgo_t) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for cublasGemmAlgo_t

source§

fn eq(&self, other: &cublasGemmAlgo_t) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for cublasGemmAlgo_t

source§

fn partial_cmp(&self, other: &cublasGemmAlgo_t) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for cublasGemmAlgo_t

source§

impl Eq for cublasGemmAlgo_t

source§

impl StructuralPartialEq for cublasGemmAlgo_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.