Openholo
v2.1
Open Source Digital Holographic Library
|
#include <cufft.h>
#include <npp.h>
#include <cuda_profiler_api.h>
#include <cuda_runtime.h>
Go to the source code of this file.
Functions | |
void | cudaCvtFieldToCuFFT (Complex< Real > *src_data, cufftDoubleComplex *dst_data, int nx, int ny) |
void | cudaCvtCuFFTToField (cufftDoubleComplex *src_data, Complex< Real > *dst_data, int nx, int ny) |
void | cudaCuFFT (cufftHandle *plan, cufftDoubleComplex *src_data, cufftDoubleComplex *dst_data, int nx, int ny, int direction) |
void | cudaCuIFFT (cufftHandle *plan, cufftDoubleComplex *src_data, cufftDoubleComplex *dst_data, int nx, int ny, int direction) |
void | cudaCvtOFF (Complex< Real > *src_data, Real *dst_data, ophSigConfig *device_config, int nx, int ny, Real wl, Complex< Real > *F, Real *angle) |
void | cudaCvtHPO (CUstream_st *stream, cufftDoubleComplex *src_data, cufftDoubleComplex *dst_data, ophSigConfig *device_config, Complex< Real > *F, int nx, int ny, Real Rephase, Real Imphase) |
void | cudaCvtCAC (cufftDoubleComplex *src_data, cufftDoubleComplex *dst_data, Complex< Real > *FFZP, ophSigConfig *device_config, int nx, int ny, Real sigmaf, Real radius) |
void | cudaPropagation (cufftDoubleComplex *src_data, cufftDoubleComplex *dst_data, Complex< Real > *FH, ophSigConfig *device_config, int nx, int ny, Real sigmaf) |
double | cudaGetParamSF (cufftHandle *fftplan, cufftDoubleComplex *src_data, cufftDoubleComplex *temp_data, cufftDoubleComplex *dst_data, Real *f, Complex< Real > *FH, ophSigConfig *device_config, int nx, int ny, float zMax, float zMin, int sampN, float th, Real wl) |
void | cudaGetParamAT1 (Complex< Real > *src_data, Complex< Real > *Flr, Complex< Real > *Fli, Complex< Real > *G, ophSigConfig *device_config, int nx, int ny, Real_t NA_g, Real wl) |
void | cudaGetParamAT2 (Complex< Real > *Flr, Complex< Real > *Fli, Complex< Real > *G, Complex< Real > *temp_data, int nx, int ny) |
Variables | |
cufftDoubleComplex * | complex_holog_gpu |
cudaStream_t | streamLF |
void cudaCuFFT | ( | cufftHandle * | plan, |
cufftDoubleComplex * | src_data, | ||
cufftDoubleComplex * | dst_data, | ||
int | nx, | ||
int | ny, | ||
int | direction | ||
) |
void cudaCuIFFT | ( | cufftHandle * | plan, |
cufftDoubleComplex * | src_data, | ||
cufftDoubleComplex * | dst_data, | ||
int | nx, | ||
int | ny, | ||
int | direction | ||
) |
void cudaCvtCAC | ( | cufftDoubleComplex * | src_data, |
cufftDoubleComplex * | dst_data, | ||
Complex< Real > * | FFZP, | ||
ophSigConfig * | device_config, | ||
int | nx, | ||
int | ny, | ||
Real | sigmaf, | ||
Real | radius | ||
) |
void cudaCvtCuFFTToField | ( | cufftDoubleComplex * | src_data, |
Complex< Real > * | dst_data, | ||
int | nx, | ||
int | ny | ||
) |
void cudaCvtFieldToCuFFT | ( | Complex< Real > * | src_data, |
cufftDoubleComplex * | dst_data, | ||
int | nx, | ||
int | ny | ||
) |
void cudaCvtHPO | ( | CUstream_st * | stream, |
cufftDoubleComplex * | src_data, | ||
cufftDoubleComplex * | dst_data, | ||
ophSigConfig * | device_config, | ||
Complex< Real > * | F, | ||
int | nx, | ||
int | ny, | ||
Real | Rephase, | ||
Real | Imphase | ||
) |
void cudaCvtOFF | ( | Complex< Real > * | src_data, |
Real * | dst_data, | ||
ophSigConfig * | device_config, | ||
int | nx, | ||
int | ny, | ||
Real | wl, | ||
Complex< Real > * | F, | ||
Real * | angle | ||
) |
void cudaGetParamAT1 | ( | Complex< Real > * | src_data, |
Complex< Real > * | Flr, | ||
Complex< Real > * | Fli, | ||
Complex< Real > * | G, | ||
ophSigConfig * | device_config, | ||
int | nx, | ||
int | ny, | ||
Real_t | NA_g, | ||
Real | wl | ||
) |
void cudaGetParamAT2 | ( | Complex< Real > * | Flr, |
Complex< Real > * | Fli, | ||
Complex< Real > * | G, | ||
Complex< Real > * | temp_data, | ||
int | nx, | ||
int | ny | ||
) |
double cudaGetParamSF | ( | cufftHandle * | fftplan, |
cufftDoubleComplex * | src_data, | ||
cufftDoubleComplex * | temp_data, | ||
cufftDoubleComplex * | dst_data, | ||
Real * | f, | ||
Complex< Real > * | FH, | ||
ophSigConfig * | device_config, | ||
int | nx, | ||
int | ny, | ||
float | zMax, | ||
float | zMin, | ||
int | sampN, | ||
float | th, | ||
Real | wl | ||
) |
void cudaPropagation | ( | cufftDoubleComplex * | src_data, |
cufftDoubleComplex * | dst_data, | ||
Complex< Real > * | FH, | ||
ophSigConfig * | device_config, | ||
int | nx, | ||
int | ny, | ||
Real | sigmaf | ||
) |
cufftDoubleComplex* complex_holog_gpu |
Definition at line 56 of file ophSig_GPU.h.
cudaStream_t streamLF |
Definition at line 58 of file ophSig_GPU.h.