24 #ifndef SKA_CHEETAH_FFT_TEST_FFTTESTER_H 25 #define SKA_CHEETAH_FFT_TEST_FFTTESTER_H 27 #include "cheetah/utils/test_utils/AlgorithmTester.h" 28 #include "cheetah/data/Units.h" 29 #include "cheetah/fft/Config.h" 30 #include "cheetah/fft/Fft.h" 31 #include "panda/AlgorithmInfo.h" 33 #include <gtest/gtest.h> 80 template<
typename Algorithm,
typename NumericalT>
85 typedef Algorithm Algo;
86 typedef typename Algorithm::Architecture Arch;
87 typedef typename panda::AlgorithmInfo<Algorithm>::ArchitectureCapability ArchCap;
90 typedef typename BaseT::DeviceType DeviceType;
91 typedef NumericalT NumericalRep;
108 template<
typename DataType>
109 typename DataType::Allocator
allocator(panda::PoolResource<Arch>& device) {
110 return typename DataType::Allocator(device);
132 template <
typename TestTraits>
153 #include "cheetah/fft/test_utils/detail/FftTester.cpp" 156 #endif // SKA_CHEETAH_FFT_TEST_FFTTESTER_H Configuration for the fft module.
A class for performing FFTs.
static double accuracy()
defines accuracy requirement for when the input data is compared with the Fourier transform followed ...
A helper class to determine the type of complex data for different architectures. ...
Some limits and constants for FLDO.
static const std::size_t fft_trial_length
FFT trial length (size of input data)
describes the algorithm to be tested to the AlgorithmTester
Base class for generic algortihm tests that require an accelerator device.
DataType::Allocator allocator(panda::PoolResource< Arch > &device)
provides a default allocator contruction for the DataType provided