Do more. Code less. Free software for GPU computing.
<scroll to top>

Fourier Transform (2D)

Fast Fourier Transforms

Device pointer interface: Forward and Inverse 2D fft

Parameters:
[in]xonumber of rows in the output
[in]yonumber of columns in the output
[out]d_OOutput array (always complex)
[in]xinumber of rows in the input
[in]yinumber of columns in the ouput
[in]batchNumber of input tiles
[in]directionDirection of fft2. 0 for FORWARD, 1 for INVERSE

afError af_fft2_S (unsigned xo, unsigned yo, cuComplex *d_O, unsigned xi, unsigned yi, const float *d_I, unsigned batch, int direction)
 Single precision, two dimensional fft.
afError af_fft2_C (unsigned xo, unsigned yo, cuComplex *d_O, unsigned xi, unsigned yi, const cuComplex *d_I, unsigned batch, int direction)
 Complex, Single precision, two dimensional fft.
afError af_fft2_D (unsigned xo, unsigned yo, cuDoubleComplex *d_O, unsigned xi, unsigned yi, const double *d_I, unsigned batch, int direction)
 Double precision, two dimensional fft.
afError af_fft2_Z (unsigned xo, unsigned yo, cuDoubleComplex *d_O, unsigned xi, unsigned yi, const cuDoubleComplex *d_I, unsigned batch, int direction)
 Complex, Double precision, two dimensional fft.

Function Documentation

afError af_fft2_S ( unsigned  xo,
unsigned  yo,
cuComplex *  d_O,
unsigned  xi,
unsigned  yi,
const float *  d_I,
unsigned  batch,
int  direction 
)

Single precision, two dimensional fft.

afError af_fft2_C ( unsigned  xo,
unsigned  yo,
cuComplex *  d_O,
unsigned  xi,
unsigned  yi,
const cuComplex *  d_I,
unsigned  batch,
int  direction 
)

Complex, Single precision, two dimensional fft.

afError af_fft2_D ( unsigned  xo,
unsigned  yo,
cuDoubleComplex *  d_O,
unsigned  xi,
unsigned  yi,
const double *  d_I,
unsigned  batch,
int  direction 
)

Double precision, two dimensional fft.

afError af_fft2_Z ( unsigned  xo,
unsigned  yo,
cuDoubleComplex *  d_O,
unsigned  xi,
unsigned  yi,
const cuDoubleComplex *  d_I,
unsigned  batch,
int  direction 
)

Complex, Double precision, two dimensional fft.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines