#[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§
Trait Implementations§
Source§impl Clone for cudaDataType
impl Clone for cudaDataType
Source§fn clone(&self) -> cudaDataType
fn clone(&self) -> cudaDataType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 cudaDataType
impl Debug for cudaDataType
Source§impl PartialEq for cudaDataType
impl PartialEq for cudaDataType
Source§fn eq(&self, other: &cudaDataType) -> bool
fn eq(&self, other: &cudaDataType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for cudaDataType
impl Eq 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