go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Functions
cuda Namespace Reference

Functions

void __cudaCheckMsg (const char *msg, const char *file, const int line)
 
template<typename T >
cudaError_t cudaBindTextureToArray (const T &tex, cudaArray *array, const cudaChannelFormatDesc desc)
 
template<class T >
T * cudaHostAlloc (vcl_size_t nof_elems, unsigned int flags=cudaHostAllocDefault)
 
template<class T >
T * cudaMalloc (vcl_size_t nof_elems)
 
cudaError_t cudaMemcpy (void *dst, const void *src, vcl_size_t nof_elems, vcl_size_t sizeof_elem, cudaMemcpyKind direction)
 
template<class T >
void cudaMemcpy (T *dst, const T *src, vcl_size_t nof_elems, cudaMemcpyKind direction)
 
template<typename T , typename Q >
cudaError_t cudaMemcpyToSymbol (const T &dst, const Q &src, cudaMemcpyKind direction)
 
template<class T >
void cudaMemset (T *dst, int value, vcl_size_t nof_elems)
 
template<typename T >
cudaError_t cudaUnbindTexture (const T &tex)
 
 DBG_FUNC (cudaFreeArray,(struct cudaArray *array),(array))
 
 DBG_FUNC (cudaFree,(void *devPtr),(devPtr))
 
 DBG_FUNC (cudaMalloc3DArray,(struct cudaArray **arrayPtr, const struct cudaChannelFormatDesc *desc, struct cudaExtent extent),(arrayPtr, desc, extent))
 
 DBG_FUNC (cudaMemcpy3D,(const struct cudaMemcpy3DParms *p),(p))
 
 DBG_FUNC (cudaSetDevice,(int device),(device))
 
 DBG_FUNC (cudaGetDeviceProperties,(struct cudaDeviceProp *prop, int device),(prop, device))
 

Function Documentation

void cuda::__cudaCheckMsg ( const char *  msg,
const char *  file,
const int  line 
)
inline

Definition at line 32 of file cudaInlineFunctions.h.

template<typename T >
cudaError_t cuda::cudaBindTextureToArray ( const T &  tex,
cudaArray *  array,
const cudaChannelFormatDesc  desc 
)
inline

Definition at line 125 of file cudaInlineFunctions.h.

template<class T >
T* cuda::cudaHostAlloc ( vcl_size_t  nof_elems,
unsigned int  flags = cudaHostAllocDefault 
)
inline

Definition at line 75 of file cudaInlineFunctions.h.

template<class T >
T* cuda::cudaMalloc ( vcl_size_t  nof_elems)
inline

Definition at line 63 of file cudaInlineFunctions.h.

cudaError_t cuda::cudaMemcpy ( void *  dst,
const void *  src,
vcl_size_t  nof_elems,
vcl_size_t  sizeof_elem,
cudaMemcpyKind  direction 
)
inline

Definition at line 86 of file cudaInlineFunctions.h.

template<class T >
void cuda::cudaMemcpy ( T *  dst,
const T *  src,
vcl_size_t  nof_elems,
cudaMemcpyKind  direction 
)
inline

Definition at line 96 of file cudaInlineFunctions.h.

template<typename T , typename Q >
cudaError_t cuda::cudaMemcpyToSymbol ( const T &  dst,
const Q &  src,
cudaMemcpyKind  direction 
)
inline

Definition at line 115 of file cudaInlineFunctions.h.

template<class T >
void cuda::cudaMemset ( T *  dst,
int  value,
vcl_size_t  nof_elems 
)
inline

Definition at line 106 of file cudaInlineFunctions.h.

template<typename T >
cudaError_t cuda::cudaUnbindTexture ( const T &  tex)
inline

Definition at line 135 of file cudaInlineFunctions.h.

cuda::DBG_FUNC ( cudaFreeArray  ,
(struct cudaArray *array)  ,
(array)   
)
cuda::DBG_FUNC ( cudaFree  ,
(void *devPtr)  ,
(devPtr)   
)
cuda::DBG_FUNC ( cudaMalloc3DArray  ,
(struct cudaArray **arrayPtr, const struct cudaChannelFormatDesc *desc, struct cudaExtent extent)  ,
(arrayPtr, desc, extent)   
)
cuda::DBG_FUNC ( cudaMemcpy3D  ,
(const struct cudaMemcpy3DParms *p)  ,
(p)   
)
cuda::DBG_FUNC ( cudaSetDevice  ,
(int device)  ,
(device)   
)
cuda::DBG_FUNC ( cudaGetDeviceProperties  ,
(struct cudaDeviceProp *prop, int device)  ,
(prop, device)   
)


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo