Openholo
v5.0
Open Source Digital Holographic Library
|
Openholo Point Cloud based CGH generation with CUDA GPGPU. More...
#include "ophPointCloud.h"
#include <cuda_runtime_api.h>
#include <cuComplex.h>
#include <math_constants.h>
#include <vector_functions.h>
Go to the source code of this file.
Classes | |
struct | _CudaPointCloudConfig |
struct | _CudaPointCloudConfigRS |
struct | _CudaPointCloudConfigFresnel |
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 _CudaPointCloudConfig | CudaPointCloudConfig |
typedef _CudaPointCloudConfigRS | CudaPointCloudConfigRS |
typedef _CudaPointCloudConfigFresnel | CudaPointCloudConfigFresnel |
Functions | |
void | sum_Kernel (const int &nBlocks, const int &nThreads, cuDoubleComplex *dst, cuDoubleComplex *src, int size) |
void | cudaPointCloud_RS (const int &nBlocks, const int &nThreads, Vertex *cuda_vertex_data, cuDoubleComplex *cuda_dst, const CudaPointCloudConfigRS *cuda_config, const uint &iColor, const uint &mode) |
void | cudaPointCloud_Fresnel (const int &nBlocks, const int &nThreads, Vertex *cuda_vertex_data, cuDoubleComplex *cuda_dst, const CudaPointCloudConfigFresnel *cuda_config, const uint &iColor, const uint &mode) |
Openholo Point Cloud based CGH generation with CUDA GPGPU.
Definition in file ophPointCloud_GPU.h.
#define __CUDA_INTERNAL_COMPILATION__ |
Definition at line 64 of file ophPointCloud_GPU.h.
#define __DEBUG_LOG_GPU_SPEC_ |
Definition at line 58 of file ophPointCloud_GPU.h.
#define HANDLE_ERROR | ( | err | ) | (HandleError( err, __FILE__, __LINE__ )) |
Definition at line 81 of file ophPointCloud_GPU.h.
#define HANDLE_NULL | ( | a | ) |
Definition at line 84 of file ophPointCloud_GPU.h.
#define OPH_CUDA_N_STREAM 100 |
Definition at line 70 of file ophPointCloud_GPU.h.
typedef struct _CudaPointCloudConfig CudaPointCloudConfig |
void cudaPointCloud_Fresnel | ( | const int & | nBlocks, |
const int & | nThreads, | ||
Vertex * | cuda_vertex_data, | ||
cuDoubleComplex * | cuda_dst, | ||
const CudaPointCloudConfigFresnel * | cuda_config, | ||
const uint & | iColor, | ||
const uint & | mode | ||
) |
void cudaPointCloud_RS | ( | const int & | nBlocks, |
const int & | nThreads, | ||
Vertex * | cuda_vertex_data, | ||
cuDoubleComplex * | cuda_dst, | ||
const CudaPointCloudConfigRS * | cuda_config, | ||
const uint & | iColor, | ||
const uint & | mode | ||
) |
void sum_Kernel | ( | const int & | nBlocks, |
const int & | nThreads, | ||
cuDoubleComplex * | dst, | ||
cuDoubleComplex * | src, | ||
int | size | ||
) |