#include <cuda_gl_interop.h>
#include <cstdio>
Go to the source code of this file.
|
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) |
|
◆ CUDA_ERROR_CHECK
#define CUDA_ERROR_CHECK |
( |
|
err | ) |
(handleCUDAError(err, __FILE__, __LINE__ )) |
◆ handleCUDAError()
static void handleCUDAError |
( |
cudaError_t |
err, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
static |