Openholo  v1.0
Open Source Digital Holographic Library
ophPointCloud_GPU.h File Reference

Openholo Point Cloud based CGH generation with CUDA GPGPU. More...

#include "ophPointCloud.h"
#include <cuda_runtime.h>
#include <math_constants.h>
#include <math_functions.h>
#include <math_functions_dbl_ptx3.h>
#include <vector_functions.h>
Include dependency graph for ophPointCloud_GPU.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  KernelConst
 
struct  KernelConst_NotEncodedRS
 
struct  KernelConst_NotEncodedFrsn
 

Macros

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

Typedefs

typedef struct KernelConst GpuConst
 
typedef KernelConst_NotEncodedRS GpuConstNERS
 
typedef KernelConst_NotEncodedFrsn GpuConstNEFR
 

Functions

void cudaGenCghPointCloud_NotEncodedRS (const int &nBlocks, const int &nThreads, const int &n_pts_per_stream, Real *cuda_pc_data, Real *cuda_amp_data, Real *cuda_dst_real, Real *cuda_dst_imag, const GpuConstNERS *cuda_config, const uint &iChannel)
 
void cudaGenCghPointCloud_NotEncodedFrsn (const int &nBlocks, const int &nThreads, const int &n_pts_per_stream, Real *cuda_pc_data, Real *cuda_amp_data, Real *cuda_dst_real, Real *cuda_dst_imag, const GpuConstNEFR *cuda_config, const uint &iChannel)
 

Variables

cudaStream_t * streams
 

Detailed Description

Openholo Point Cloud based CGH generation with CUDA GPGPU.

Author
Hyeong-Hak Ahn
Date
2018/09

Definition in file ophPointCloud_GPU.h.

Macro Definition Documentation

◆ __CUDA_INTERNAL_COMPILATION__

#define __CUDA_INTERNAL_COMPILATION__

Definition at line 63 of file ophPointCloud_GPU.h.

◆ __DEBUG_LOG_GPU_SPEC_

#define __DEBUG_LOG_GPU_SPEC_

Definition at line 58 of file ophPointCloud_GPU.h.

◆ HANDLE_ERROR

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

Definition at line 80 of file ophPointCloud_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 83 of file ophPointCloud_GPU.h.

◆ OPH_CUDA_N_STREAM

#define OPH_CUDA_N_STREAM   100

Definition at line 70 of file ophPointCloud_GPU.h.

Typedef Documentation

◆ GpuConst

typedef struct KernelConst GpuConst

◆ GpuConstNEFR

◆ GpuConstNERS

Function Documentation

◆ cudaGenCghPointCloud_NotEncodedFrsn()

void cudaGenCghPointCloud_NotEncodedFrsn ( const int &  nBlocks,
const int &  nThreads,
const int &  n_pts_per_stream,
Real cuda_pc_data,
Real cuda_amp_data,
Real cuda_dst_real,
Real cuda_dst_imag,
const GpuConstNEFR cuda_config,
const uint iChannel 
)

◆ cudaGenCghPointCloud_NotEncodedRS()

void cudaGenCghPointCloud_NotEncodedRS ( const int &  nBlocks,
const int &  nThreads,
const int &  n_pts_per_stream,
Real cuda_pc_data,
Real cuda_amp_data,
Real cuda_dst_real,
Real cuda_dst_imag,
const GpuConstNERS cuda_config,
const uint iChannel 
)

Variable Documentation

◆ streams

cudaStream_t* streams

Definition at line 152 of file ophPointCloud_GPU.h.