Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ska::cheetah::fft::test::FftTesterTraits< Algorithm, NumericalT > Struct Template Reference
Inheritance diagram for ska::cheetah::fft::test::FftTesterTraits< Algorithm, NumericalT >:
Inheritance graph
Collaboration diagram for ska::cheetah::fft::test::FftTesterTraits< Algorithm, NumericalT >:
Collaboration graph

Public Types

typedef Algorithm Algo
 
typedef Algorithm::Architecture Arch
 
typedef panda::AlgorithmInfo< Algorithm >::ArchitectureCapability ArchCap
 
typedef utils::test::AlgorithmTesterTraits< Arch, ArchCap > BaseT
 
typedef data::ComplexTypeTraits< Arch, NumericalT >::type ComplexT
 
typedef BaseT::DeviceType DeviceType
 
typedef NumericalT NumericalRep
 
- Public Types inherited from ska::cheetah::utils::test::AlgorithmTesterTraits< Algorithm::Architecture, panda::AlgorithmInfo< Algorithm >::ArchitectureCapability >
typedef Algorithm::Architecture Arch
 
typedef panda::PoolResource< Algorithm::Architecture > DeviceType
 
typedef panda::AlgorithmInfo< Algorithm >::ArchitectureCapability Capability
 
typedef std::shared_ptr< panda::PoolResource< Arch > > TestParam
 

Public Member Functions

template<typename DataType >
DataType::Allocator allocator (panda::PoolResource< Arch > &device)
 provides a default allocator contruction for the DataType provided More...
 
fft::Fftapi ()
 

Static Public Member Functions

static double accuracy ()
 defines accuracy requirement for when the input data is compared with the Fourier transform followed by an inverse fourier transform More...
 

Static Public Attributes

static const std::size_t fft_trial_length = 1024
 FFT trial length (size of input data) More...
 

Detailed Description

template<typename Algorithm, typename NumericalT>
struct ska::cheetah::fft::test::FftTesterTraits< Algorithm, NumericalT >

Definition at line 81 of file FftTester.h.

Member Function Documentation

◆ accuracy()

template<typename Algorithm, typename NumericalT>
static double ska::cheetah::fft::test::FftTesterTraits< Algorithm, NumericalT >::accuracy ( )
inlinestatic

defines accuracy requirement for when the input data is compared with the Fourier transform followed by an inverse fourier transform

override this method to customise the expected tolerance

Definition at line 102 of file FftTester.h.

102 { return 1.0e-10; }

◆ allocator()

template<typename Algorithm, typename NumericalT>
template<typename DataType >
DataType::Allocator ska::cheetah::fft::test::FftTesterTraits< Algorithm, NumericalT >::allocator ( panda::PoolResource< Arch > &  device)
inline

provides a default allocator contruction for the DataType provided

override to specialise

Definition at line 109 of file FftTester.h.

109  {
110  return typename DataType::Allocator(device);
111  }

Member Data Documentation

◆ fft_trial_length

template<typename Algorithm, typename NumericalT>
const std::size_t ska::cheetah::fft::test::FftTesterTraits< Algorithm, NumericalT >::fft_trial_length = 1024
static

FFT trial length (size of input data)

Override to adjust

Definition at line 123 of file FftTester.h.


The documentation for this struct was generated from the following files: