Enum cudarc::cudnn::sys::cudnnDataType_t
source · #[repr(u32)]pub enum cudnnDataType_t {
CUDNN_DATA_FLOAT,
CUDNN_DATA_DOUBLE,
CUDNN_DATA_HALF,
CUDNN_DATA_INT8,
CUDNN_DATA_INT32,
CUDNN_DATA_INT8x4,
CUDNN_DATA_UINT8,
CUDNN_DATA_UINT8x4,
CUDNN_DATA_INT8x32,
CUDNN_DATA_BFLOAT16,
CUDNN_DATA_INT64,
CUDNN_DATA_BOOLEAN,
}
Variants§
CUDNN_DATA_FLOAT
CUDNN_DATA_DOUBLE
CUDNN_DATA_HALF
CUDNN_DATA_INT8
CUDNN_DATA_INT32
CUDNN_DATA_INT8x4
CUDNN_DATA_UINT8
CUDNN_DATA_UINT8x4
CUDNN_DATA_INT8x32
CUDNN_DATA_BFLOAT16
CUDNN_DATA_INT64
CUDNN_DATA_BOOLEAN
Trait Implementations§
source§impl Clone for cudnnDataType_t
impl Clone for cudnnDataType_t
source§fn clone(&self) -> cudnnDataType_t
fn clone(&self) -> cudnnDataType_t
Returns a copy 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 cudnnDataType_t
impl Debug for cudnnDataType_t
source§impl Hash for cudnnDataType_t
impl Hash for cudnnDataType_t
source§impl Ord for cudnnDataType_t
impl Ord for cudnnDataType_t
source§fn cmp(&self, other: &cudnnDataType_t) -> Ordering
fn cmp(&self, other: &cudnnDataType_t) -> Ordering
1.21.0 · 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<cudnnDataType_t> for cudnnDataType_t
impl PartialEq<cudnnDataType_t> for cudnnDataType_t
source§fn eq(&self, other: &cudnnDataType_t) -> bool
fn eq(&self, other: &cudnnDataType_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<cudnnDataType_t> for cudnnDataType_t
impl PartialOrd<cudnnDataType_t> for cudnnDataType_t
source§fn partial_cmp(&self, other: &cudnnDataType_t) -> Option<Ordering>
fn partial_cmp(&self, other: &cudnnDataType_t) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moreimpl Copy for cudnnDataType_t
impl Eq for cudnnDataType_t
impl StructuralEq for cudnnDataType_t
impl StructuralPartialEq for cudnnDataType_t
Auto Trait Implementations§
impl RefUnwindSafe for cudnnDataType_t
impl Send for cudnnDataType_t
impl Sync for cudnnDataType_t
impl Unpin for cudnnDataType_t
impl UnwindSafe for cudnnDataType_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