Highly Efficient FFT for Exascale: HeFFTe v2.3
heffte::plan_rocfft< precision_type, dir > Struct Template Reference

Plan for the r2c single precision transform. More...

#include <heffte_backend_rocm.h>

Public Member Functions

 plan_rocfft (size_t size, size_t batch, size_t stride, size_t rdist, size_t cdist)
 Constructor and initializer of the plan. More...
 
 ~plan_rocfft ()
 Destructor, deletes the plan.
 
 operator rocfft_plan () const
 Custom conversion to the rocfft_plan.
 
size_t size_work () const
 Return the worksize.
 

Detailed Description

template<typename precision_type, direction dir>
struct heffte::plan_rocfft< precision_type, dir >

Plan for the r2c single precision transform.

Note, this is a base template and does not specialize, the complex case is handled in a specialization.

Constructor & Destructor Documentation

◆ plan_rocfft()

template<typename precision_type , direction dir>
heffte::plan_rocfft< precision_type, dir >::plan_rocfft ( size_t  size,
size_t  batch,
size_t  stride,
size_t  rdist,
size_t  cdist 
)
inline

Constructor and initializer of the plan.

Parameters
sizeis the number of entries in a 1-D transform
batchis the number of transforms in the batch
strideis the distance between entries of the same transform
rdistis the distance between the first entries of consecutive real sequences
cdistis the distance between the first entries of consecutive complex sequences

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