#[repr(i32)]pub enum cudaDataType {
R_32F = 0,
R_64F = 1,
R_16F = 2,
C_32F = 4,
C_64F = 5,
R_16BF = 14,
}Expand description
cudaDataType values used by cuSPARSE / cuSOLVER’s generic APIs. Only
the subset we actually use at v0.1.
Variants§
R_32F = 0
32-bit real (f32).
R_64F = 1
64-bit real (f64).
R_16F = 2
16-bit real (IEEE half / f16).
C_32F = 4
32-bit complex (Complex<f32>).
C_64F = 5
64-bit complex (Complex<f64>).
R_16BF = 14
16-bit real bfloat16.
Trait Implementations§
Source§impl Clone for cudaDataType
impl Clone for cudaDataType
impl Copy for cudaDataType
Source§impl Debug for cudaDataType
impl Debug for cudaDataType
impl Eq for cudaDataType
Source§impl PartialEq for cudaDataType
impl PartialEq for cudaDataType
impl StructuralPartialEq for cudaDataType
Auto Trait Implementations§
impl Freeze for cudaDataType
impl RefUnwindSafe for cudaDataType
impl Send for cudaDataType
impl Sync for cudaDataType
impl Unpin for cudaDataType
impl UnsafeUnpin for cudaDataType
impl UnwindSafe for cudaDataType
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