Extended CUDA Library (ecuda)  2.0
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Namespaces | Macros | Functions
apiwrappers.hpp File Reference
#include "global.hpp"
#include "allocators.hpp"
#include <vector>

Go to the source code of this file.

Namespaces

 ecuda
 

Macros

#define ECUDA_APIWRAPPERS_HPP
 

Functions

template<typename T >
cudaError_t ecuda::cudaMemcpy (T *dest, const T *src, const size_t count, cudaMemcpyKind kind)
 Wrapper around CUDA API function cudaMemcpy. More...
 
template<typename T >
cudaError_t ecuda::cudaMemcpy2D (T *dest, const size_t dpitch, const T *src, const size_t spitch, const size_t width, const size_t height, cudaMemcpyKind kind)
 Wrapper around CUDA API function cudaMemcpy2D. More...
 
cudaError_t ecuda::cudaMemset (char *devPtr, const char &value, const size_t count)
 Re-implementation of CUDA API function cudaMemset that enforces a single-byte value. More...
 
template<typename T >
cudaError_t ecuda::cudaMemset (T *devPtr, const T &value, const size_t count)
 Re-implementation of CUDA API function cudaMemset that allows for any data type. More...
 
cudaError_t ecuda::cudaMemset2D (char *devPtr, const size_t pitch, const char &value, const size_t width, const size_t height)
 Re-implementation of CUDA API function cudaMemset2D that enforces a single-byte value. More...
 
template<typename T >
cudaError_t ecuda::cudaMemset2D (T *devPtr, const size_t pitch, const T &value, const size_t width, const size_t height)
 Re-implementation of CUDA API function cudaMemset2D that allows for any data type. More...
 
template<typename T >
cudaError_t ecuda::cudaMemcpyToSymbol (T *dest, const T *src, size_t count=1, size_t offset=0, enum cudaMemcpyKind kind=cudaMemcpyHostToDevice)
 
template<typename T >
cudaError_t ecuda::cudaMemcpyToSymbol (T &dest, const T &src, enum cudaMemcpyKind kind=cudaMemcpyHostToDevice)
 
__DEVICE__ void ecuda::threadfence ()
 

Macro Definition Documentation

#define ECUDA_APIWRAPPERS_HPP

Definition at line 40 of file apiwrappers.hpp.