pub enum CudaType {
}Expand description
CUDA / C++ type representation used in generated .cu files.
Variants§
Int
int
Long
long
Float
float
Double
double
Half
__half (CUDA half-precision float)
Bool
bool
Dim3
dim3 (three-component grid/block dimension)
DimT
size_t
CudaErrorT
cudaError_t
Pointer(Box<CudaType>)
Pointer to inner type: T*
__shared__ qualified type (used internally for shared-mem decls)
Constant(Box<CudaType>)
__constant__ qualified type
Device(Box<CudaType>)
__device__ qualified type
Void
Void: void
UInt
Unsigned int: unsigned int
Named(String)
Named struct or typedef
Trait Implementations§
impl Eq for CudaType
impl StructuralPartialEq for CudaType
Auto Trait Implementations§
impl Freeze for CudaType
impl RefUnwindSafe for CudaType
impl Send for CudaType
impl Sync for CudaType
impl Unpin for CudaType
impl UnsafeUnpin for CudaType
impl UnwindSafe for CudaType
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