Struct kn_cuda_sys::bindings::__nv_bfloat16_raw
source · #[repr(C)]pub struct __nv_bfloat16_raw {
pub x: c_ushort,
}Expand description
\ingroup CUDA_MATH_INTRINSIC_BFLOAT16 \brief __nv_bfloat16_raw data type \details Type allows static initialization of \p nv_bfloat16 until it becomes a builtin type.
-
Note: this initialization is as a bit-field representation of \p nv_bfloat16, and not a conversion from \p short to \p nv_bfloat16. Such representation will be deprecated in a future version of CUDA.
-
Note: this is visible to non-nvcc compilers, including C-only compilations
Fields§
§x: c_ushortTrait Implementations§
source§impl Clone for __nv_bfloat16_raw
impl Clone for __nv_bfloat16_raw
source§fn clone(&self) -> __nv_bfloat16_raw
fn clone(&self) -> __nv_bfloat16_raw
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 __nv_bfloat16_raw
impl Debug for __nv_bfloat16_raw
impl Copy for __nv_bfloat16_raw
Auto Trait Implementations§
impl Freeze for __nv_bfloat16_raw
impl RefUnwindSafe for __nv_bfloat16_raw
impl Send for __nv_bfloat16_raw
impl Sync for __nv_bfloat16_raw
impl Unpin for __nv_bfloat16_raw
impl UnwindSafe for __nv_bfloat16_raw
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