Openholo  v4.2
Open Source Digital Holographic Library
ophRec_GPU.h File Reference
#include "ophRec.h"
#include <cuda_runtime_api.h>
#include <cufft.h>
#include <math_constants.h>
#include <vector_functions.h>
Include dependency graph for ophRec_GPU.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  KernelConst
 

Macros

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

Typedefs

typedef struct KernelConst RecGpuConst
 

Functions

void cudaASMPropagation (const int &nBlocks, const int &nThreads, const int &nx, const int &ny, cuDoubleComplex *src, cuDoubleComplex *dst, Real *encode, const RecGpuConst *cuda_config)
 

Macro Definition Documentation

◆ __CUDA_INTERNAL_COMPILATION__

#define __CUDA_INTERNAL_COMPILATION__

Definition at line 54 of file ophRec_GPU.h.

◆ HANDLE_ERROR

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

Definition at line 69 of file ophRec_GPU.h.

◆ 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 72 of file ophRec_GPU.h.

Typedef Documentation

◆ RecGpuConst

typedef struct KernelConst RecGpuConst

Function Documentation

◆ cudaASMPropagation()

void cudaASMPropagation ( const int &  nBlocks,
const int &  nThreads,
const int &  nx,
const int &  ny,
cuDoubleComplex *  src,
cuDoubleComplex *  dst,
Real encode,
const RecGpuConst cuda_config 
)