#include "ophWRP.h"
#include <cuda_runtime_api.h>
#include <cufft.h>
#include <math_constants.h>
#include <vector_functions.h>
Go to the source code of this file.
|
void | cudaFresnelPropagationWRP (const int &nBlocks, const int &nBlocks2, const int &nThreads, const int &nx, const int &ny, cuDoubleComplex *src, cuDoubleComplex *dst, cufftDoubleComplex *fftsrc, cufftDoubleComplex *fftdst, const WRPGpuConst *cuda_config) |
|
void | cudaGenWRP (const int &nBlocks, const int &nThreads, const int &n_pts_per_stream, Vertex *cuda_pc_data, cuDoubleComplex *cuda_dst, const WRPGpuConst *cuda_config) |
|
◆ __CUDA_INTERNAL_COMPILATION__
#define __CUDA_INTERNAL_COMPILATION__ |
◆ __DEBUG_LOG_GPU_SPEC_
#define __DEBUG_LOG_GPU_SPEC_ |
◆ HANDLE_ERROR
#define HANDLE_ERROR |
( |
|
err | ) |
(HandleError( err, __FILE__, __LINE__ )) |
◆ HANDLE_NULL
Value:{if (a == NULL) { \
printf( "Host memory failed in %s at line %d\n", \
__FILE__, __LINE__ ); \
exit( EXIT_FAILURE );}}
Definition at line 75 of file ophWRP_GPU.h.
◆ WRPGpuConst
◆ cudaFresnelPropagationWRP()
void cudaFresnelPropagationWRP |
( |
const int & |
nBlocks, |
|
|
const int & |
nBlocks2, |
|
|
const int & |
nThreads, |
|
|
const int & |
nx, |
|
|
const int & |
ny, |
|
|
cuDoubleComplex * |
src, |
|
|
cuDoubleComplex * |
dst, |
|
|
cufftDoubleComplex * |
fftsrc, |
|
|
cufftDoubleComplex * |
fftdst, |
|
|
const WRPGpuConst * |
cuda_config |
|
) |
| |
◆ cudaGenWRP()
void cudaGenWRP |
( |
const int & |
nBlocks, |
|
|
const int & |
nThreads, |
|
|
const int & |
n_pts_per_stream, |
|
|
Vertex * |
cuda_pc_data, |
|
|
cuDoubleComplex * |
cuda_dst, |
|
|
const WRPGpuConst * |
cuda_config |
|
) |
| |