Enum rcudnn_sys::cudnnDataType_t
source · #[non_exhaustive]#[repr(u32)]pub enum cudnnDataType_t {
CUDNN_DATA_FLOAT = 0,
CUDNN_DATA_DOUBLE = 1,
CUDNN_DATA_HALF = 2,
CUDNN_DATA_INT8 = 3,
CUDNN_DATA_INT32 = 4,
CUDNN_DATA_INT8x4 = 5,
CUDNN_DATA_UINT8 = 6,
CUDNN_DATA_UINT8x4 = 7,
CUDNN_DATA_INT8x32 = 8,
CUDNN_DATA_BFLOAT16 = 9,
CUDNN_DATA_INT64 = 10,
CUDNN_DATA_BOOLEAN = 11,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CUDNN_DATA_FLOAT = 0
CUDNN_DATA_DOUBLE = 1
CUDNN_DATA_HALF = 2
CUDNN_DATA_INT8 = 3
CUDNN_DATA_INT32 = 4
CUDNN_DATA_INT8x4 = 5
CUDNN_DATA_UINT8 = 6
CUDNN_DATA_UINT8x4 = 7
CUDNN_DATA_INT8x32 = 8
CUDNN_DATA_BFLOAT16 = 9
CUDNN_DATA_INT64 = 10
CUDNN_DATA_BOOLEAN = 11
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 PartialEq for cudnnDataType_t
impl PartialEq 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 ==
.impl Copy for cudnnDataType_t
impl Eq 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