Forge: CUDACopy.hpp File Reference

Forge

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

Namespaces | Macros | Functions
CUDACopy.hpp File Reference
`#include <cuda_gl_interop.h>`
`#include <cstdio>`

Go to the source code of this file.

## Namespaces
| fg

## Macros
#define | CUDA_ERROR_CHECK(err) (handleCUDAError(err, __FILE__, __LINE__ ))

## Functions
static void | handleCUDAError (cudaError_t err, const char *file, int line)
template<typename T >
void | copy (fg::Image &out, const T *dataPtr)
template<class Renderable , typename T >
void | copy (Renderable &out, const T *dataPtr)

## Macro Definition Documentation

#define CUDA_ERROR_CHECK | ( |  | err | ) | (handleCUDAError(err, __FILE__, __LINE__ ))

## Function Documentation

static void handleCUDAError | ( | cudaError_t | err,
|  | const char * | file,
|  | int | line
| ) |  |
| static