#[repr(C)]pub enum NcclDataType {
Int8 = 0,
Uint8 = 1,
Int32 = 2,
Uint32 = 3,
Int64 = 4,
Uint64 = 5,
Float16 = 6,
Float32 = 7,
Float64 = 8,
Bfloat16 = 9,
}Expand description
NCCL data types (matches nccl.h enum values).
Variants§
Int8 = 0
Uint8 = 1
Int32 = 2
Uint32 = 3
Int64 = 4
Uint64 = 5
Float16 = 6
Float32 = 7
Float64 = 8
Bfloat16 = 9
Trait Implementations§
Source§impl Clone for NcclDataType
impl Clone for NcclDataType
Source§fn clone(&self) -> NcclDataType
fn clone(&self) -> NcclDataType
Returns a duplicate 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 NcclDataType
impl Debug for NcclDataType
impl Copy for NcclDataType
Auto Trait Implementations§
impl Freeze for NcclDataType
impl RefUnwindSafe for NcclDataType
impl Send for NcclDataType
impl Sync for NcclDataType
impl Unpin for NcclDataType
impl UnwindSafe for NcclDataType
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