Highly Efficient FFT for Exascale: HeFFTe v2.3
heffte::data_scaling Namespace Reference

Specialization for the CPU case. More...

Functions

template<typename scalar_type , typename index >
void apply (cudaStream_t stream, index num_entries, scalar_type *data, double scale_factor)
 Simply multiply the num_entries in the data by the scale_factor.
 
template<typename precision_type , typename index >
void apply (cudaStream_t stream, index num_entries, std::complex< precision_type > *data, double scale_factor)
 Complex by real scaling.
 
template<typename scalar_type , typename index >
void apply (void *, index num_entries, scalar_type *data, double scale_factor)
 Simply multiply the num_entries in the data by the scale_factor.
 
template<typename precision_type , typename index >
void apply (void *stream, index num_entries, std::complex< precision_type > *data, double scale_factor)
 Complex by real scaling. More...
 
template<typename scalar_type , typename index >
void apply (index num_entries, scalar_type *data, double scale_factor)
 Helper method that omits the stream for the CPU case.
 

Detailed Description

Specialization for the CPU case.