1 #ifndef SKA_CHEETAH_FFT_FFTPLAN_H 2 #define SKA_CHEETAH_FFT_FFTPLAN_H 4 #include "cheetah/fft/FftType.h" 5 #include "cheetah/utils/Architectures.h" 6 #include "cheetah/cuda_utils/cuda_cufft.h" 7 #include "cheetah/cuda_utils/cuda_errorhandling.h" 47 cufftHandle
const&
plan(FftType fft_type, std::size_t size, std::size_t batch);
53 bool valid(cufftType cufft_type, std::size_t size, std::size_t batch)
const;
64 cufftType convert_to_cufft_type(FftType fft_type)
const;
68 cufftType _cufft_type;
78 #include "cheetah/fft/cuda/detail/FftPlan.cu" 80 #endif // SKA_CHEETAH_FFT_FFTPLAN_H ~FftPlan()
Destroys the undetlying cufft plan if allocated.
cufftHandle const & plan(FftType fft_type, std::size_t size, std::size_t batch)
Get (or create) a cufft plan.
FftPlan()
Construct an uninitialised cufft plan.
Some limits and constants for FLDO.