Loading [MathJax]/extensions/TeX/AMSsymbols.js
LAL 7.7.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
CudaPlan.h
Go to the documentation of this file.
1#ifndef _CUDAPLAN_H
2#define _CUDAPLAN_H
3
4/* suppress warnings from cuda headers */
5#pragma GCC system_header
6
7#include <lal/LALDatatypes.h>
8#include <fftw3.h>
9#include <cufft.h>
10
11/* This is only included by CudaComplexFFT.c
12 * or any other file that needs to access the
13 * FFT plan structure.
14 */
15
16#ifndef SWIG /* exclude from SWIG interface */
17
19{
20 INT4 sign;
21 UINT4 size;
22 cufftHandle plan;
25};
26
28{
29 INT4 sign;
30 UINT4 size;
31 fftw_plan plan;
32};
33
34#endif /* SWIG */
35
36#endif /* _CUDAPLAN_H */
uint32_t UINT4
Four-byte unsigned integer.
float complex COMPLEX8
Single-precision floating-point complex number (8 bytes total)
int32_t INT4
Four-byte signed integer.
Plan to perform an FFT of COMPLEX16 data.
Definition: ComplexFFT.c:137
INT4 sign
sign in transform exponential, -1 for forward, +1 for reverse
Definition: ComplexFFT.c:138
fftw_plan plan
the FFTW plan
Definition: ComplexFFT.c:140
UINT4 size
length of the complex data vector for this plan
Definition: ComplexFFT.c:139
Plan to perform an FFT of COMPLEX8 data.
Definition: ComplexFFT.c:126
cufftHandle plan
Definition: CudaPlan.h:22
UINT4 size
length of the complex data vector for this plan
Definition: ComplexFFT.c:128
COMPLEX8 * d_output
Definition: CudaPlan.h:24
COMPLEX8 * d_input
Definition: CudaPlan.h:23
INT4 sign
sign in transform exponential, -1 for forward, +1 for reverse
Definition: ComplexFFT.c:127