Openholo  v5.0
Open Source Digital Holographic Library
cudaWrapper.cpp File Reference
#include "cudaWrapper.h"
#include "define.h"
Include dependency graph for cudaWrapper.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 13 of file cudaWrapper.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 16 of file cudaWrapper.cpp.