Highly Efficient FFT for Exascale: HeFFTe v2.3
heffte::plan_cufft_r2c< scalar_type > Struct Template Reference

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

#include <heffte_backend_cuda.h>

Public Member Functions

 plan_cufft_r2c (cudaStream_t stream, direction dir, int size, int batch, int stride, int rdist, int cdist)
 Constructor, takes inputs identical to cufftMakePlanMany(). More...
 
 ~plan_cufft_r2c ()
 Destructor, deletes the plan.
 
 operator cufftHandle () const
 Custom conversion to the cufftHandle.
 

Detailed Description

template<typename scalar_type>
struct heffte::plan_cufft_r2c< scalar_type >

Plan for the r2c single and double precision transform.

Template Parameters
scalar_typemust be float or double

Constructor & Destructor Documentation

◆ plan_cufft_r2c()

template<typename scalar_type >
heffte::plan_cufft_r2c< scalar_type >::plan_cufft_r2c ( cudaStream_t  stream,
direction  dir,
int  size,
int  batch,
int  stride,
int  rdist,
int  cdist 
)
inline

Constructor, takes inputs identical to cufftMakePlanMany().

Parameters
streamis the CUDA stream to use for the transform
diris the direction (forward or backward) for the plan
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: