Module cuda

Module cuda 

Source
Expand description

Function to wrap and handle cuda kernel

Modules§

cudnn
Wrapper for cudnn library
ffi
FFI Module
kernel
Implementation of function calls to cuda kernel functions
mem
This is a memory-related module for CUDA.

Structs§

CudaConstPtr
Type that represents a pointer of const type to be passed to Cuda
CudaHostPtr
Wrapper to handle cuda host memory
CudaMemoryPoolPtr
Cuda memory object allocated from the memory pool
CudaMutPtr
Proxy type to Cuda smart pointer type with write operation
CudaPtr
Wrapper to handle cuda device memory
CudaTensor1dPtr
Cuda memory object representing a 1D array with dimension number as type parameter
CudaTensor1dPtrView
View into a Cuda memory object representing a 1D array with dimension number as a type parameter
CudaTensor2dPtr
Cuda memory object representing a 2D array with dimension number as type parameter
CudaTensor2dPtrView
View into a Cuda memory object representing a 2D array with dimension number as a type parameter
CudaTensor3dPtr
Cuda memory object representing a 3D array with dimension number as type parameter
CudaTensor3dPtrView
View into a Cuda memory object representing a 3D array with dimension number as a type parameter
CudaTensor4dPtr
Cuda memory object representing a 4D array with dimension number as type parameter
CudaTensor4dPtrView
View into a Cuda memory object representing a 4D array with dimension number as a type parameter
CudaVec
CudaVecConverter
CudaVecView
CudaVecViewConverter

Traits§

AsConstKernelPtr
Trait defining the conversion to an immutable pointer type passed to the cuda kernel
AsCudaMutPtr
Characteristic that defines the ability to obtain a reference to a writable cuda smart pointer
AsCudaPtrRef
Trait that defines the ability to get a reference to a cuda smart pointer
AsKernelPtr
Trait defining the conversion to an pointer type passed to the cuda kernel
AsMutKernelPtr
Trait defining the conversion to an mutable pointer type passed to the cuda kernel
AsMutPtr
Obtaining an mutable pointer
AsMutVoidPtr
Obtaining an mutable void pointer
AsPtr
Obtaining an immutable pointer
AsVoidPtr
Obtaining an immutable void pointer
CooperativeKernel
Trait defining cuda cooperative kernel functions
DataTypeInfo
Trait to associate a type with a cudnn type
Kernel
Trait defining cuda kernel functions
KernelArgs
Trait that defines arguments passed to cuda kernel functions
MemoryMoveTo
Trait defining cuda’s synchronous memory move to operations
MemoryMoveToAsync
Trait defining cuda’s asynchronous memory move to operations
MemorySize
Trait that returns the size of Cuda smart point type memory (returns the number of elements)
PointerElement
Trait that defines the type of each element of a pointer
ReadMemory
Trait to implement cuda synchronous memory read operations
ReadMemoryAsync
Trait to implement cuda asynchronous memory read operations
ToCuda
Trait to convert value to Cuda smart pointer type
ToHost
Trait for inverse conversion of value to host memory type
TryClone
WriteMemory
Trait to implement cuda synchronous memory write operations
WriteMemoryAsync
Trait to implement cuda asynchronous memory write operations