![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
this class provides the fft features to CarmaObj More...
#include <carma_fft.h>
Public Member Functions | |
CarmaFFT (long *dims_data, int inplace) | |
~CarmaFFT () | |
int | host2device (T_in *data) |
int | device2host (T_out *data) |
int | compute (int dir) |
int | compute (T_in *input, T_out *output, int dir) |
Protected Attributes | |
CarmaObj< T_in > * | d_input |
Input data. More... | |
CarmaObj< T_out > * | d_output |
Output data. More... | |
cufftHandle | plan |
FFT plan. More... | |
cufftType | type_plan |
FFT plan type. More... | |
int | inplace |
flag to select inplace transform or not (1 or 0) More... | |
this class provides the fft features to CarmaObj
Definition at line 25 of file carma_fft.h.
CarmaFFT< T_in, T_out >::CarmaFFT | ( | long * | dims_data, |
int | inplace | ||
) |
int CarmaFFT< T_in, T_out >::compute | ( | int | dir | ) |
Compute on the class members
int CarmaFFT< T_in, T_out >::compute | ( | T_in * | input, |
T_out * | output, | ||
int | dir | ||
) |
Compute on any array
int CarmaFFT< T_in, T_out >::device2host | ( | T_out * | data | ) |
Memory transfers both ways
int CarmaFFT< T_in, T_out >::host2device | ( | T_in * | data | ) |
Input data.
Definition at line 27 of file carma_fft.h.
Output data.
Definition at line 28 of file carma_fft.h.
|
protected |
flag to select inplace transform or not (1 or 0)
Definition at line 31 of file carma_fft.h.
|
protected |
FFT plan.
Definition at line 29 of file carma_fft.h.
|
protected |
FFT plan type.
Definition at line 30 of file carma_fft.h.