Openholo  v4.2
Open Source Digital Holographic Library
CUDA.cpp File Reference
#include "CUDA.h"
#include "define.h"
#include <iostream>
#include <string>
#include <iomanip>
Include dependency graph for CUDA.cpp:

Go to the source code of this file.

Macros

#define HANDLE_ERROR(err)   (HandleError( err, __FILE__, __LINE__ ))
 
#define HANDLE_NULL(a)
 

Macro Definition Documentation

◆ HANDLE_ERROR

#define HANDLE_ERROR (   err)    (HandleError( err, __FILE__, __LINE__ ))

Definition at line 16 of file CUDA.cpp.

◆ HANDLE_NULL

#define HANDLE_NULL (   a)
Value:
{if (a == NULL) { \
printf( "Host memory failed in %s at line %d\n", \
__FILE__, __LINE__ ); \
exit( EXIT_FAILURE );}}

Definition at line 19 of file CUDA.cpp.