Highly Efficient FFT for Exascale: HeFFTe v2.4
Loading...
Searching...
No Matches
heffte::plan_rocfft< std::complex< precision_type >, dir > Struct Template Reference

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

#include <heffte_backend_rocm.h>

Public Member Functions

 plan_rocfft (size_t size, size_t batch, size_t stride, size_t dist)
 Constructor, takes inputs identical to cufftMakePlanMany().
 
 plan_rocfft (size_t size1, size_t size2, std::array< size_t, 2 > const &embed, size_t batch, size_t dist)
 Constructor, takes inputs identical to cufftMakePlanMany().
 
 plan_rocfft (size_t size1, size_t size2, size_t size3)
 Constructor, takes inputs identical to cufftPlan3d()
 
 ~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< std::complex< precision_type >, dir >

Plan for the single precision complex transform.

Constructor & Destructor Documentation

◆ plan_rocfft() [1/2]

template<typename precision_type , direction dir>
heffte::plan_rocfft< std::complex< precision_type >, dir >::plan_rocfft ( size_t size,
size_t batch,
size_t stride,
size_t dist )
inline

Constructor, takes inputs identical to cufftMakePlanMany().

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
distis the distance between the first entries of consecutive sequences

◆ plan_rocfft() [2/2]

template<typename precision_type , direction dir>
heffte::plan_rocfft< std::complex< precision_type >, dir >::plan_rocfft ( size_t size1,
size_t size2,
std::array< size_t, 2 > const & embed,
size_t batch,
size_t dist )
inline

Constructor, takes inputs identical to cufftMakePlanMany().

Parameters
size1is the number of entries in a 2-D transform, direction 1
size2is the number of entries in a 2-D transform, direction 2
embedis the stride between entries in each dimension
batchis the number of transforms in the batch
distis the distance between the first entries of consecutive sequences

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