#include "oct-fftw.h"
Public Types | |
enum | FftwMethod { UNKNOWN = -1 , ESTIMATE , MEASURE , PATIENT , EXHAUSTIVE , HYBRID } |
Public Member Functions | |
float_fftw_planner (const float_fftw_planner &)=delete | |
~float_fftw_planner (void) | |
float_fftw_planner & | operator= (const float_fftw_planner &)=delete |
Static Public Member Functions | |
static void * | create_plan (const int rank, const dim_vector &dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const float *in, FloatComplex *out) |
static void * | create_plan (int dir, const int rank, const dim_vector &dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const FloatComplex *in, FloatComplex *out) |
static bool | instance_ok (void) |
static FftwMethod | method (FftwMethod _meth) |
static FftwMethod | method (void) |
static void | threads (int nt) |
static int | threads (void) |
Protected Member Functions | |
float_fftw_planner (void) | |
Private Member Functions | |
void * | do_create_plan (const int rank, const dim_vector &dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const float *in, FloatComplex *out) |
void * | do_create_plan (int dir, const int rank, const dim_vector &dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const FloatComplex *in, FloatComplex *out) |
FftwMethod | do_method (FftwMethod _meth) |
FftwMethod | do_method (void) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
octave_idx_type | d [2] |
octave_idx_type | h [2] |
bool | inplace [2] |
FftwMethod | meth |
dim_vector | n [2] |
int | nthreads |
void * | plan [2] |
int | r [2] |
octave_idx_type | rd |
octave_idx_type | rh |
dim_vector | rn |
void * | rplan |
int | rr |
octave_idx_type | rs |
bool | rsimd_align |
octave_idx_type | s [2] |
bool | simd_align [2] |
Static Private Attributes | |
static float_fftw_planner * | instance = nullptr |
Definition at line 185 of file oct-fftw.h.
Enumerator | |
---|---|
UNKNOWN | |
ESTIMATE | |
MEASURE | |
PATIENT | |
EXHAUSTIVE | |
HYBRID |
Definition at line 204 of file oct-fftw.h.
|
protected |
Definition at line 422 of file oct-fftw.cc.
References d, h, inplace, n, nthreads, OCTAVE_NPROC_CURRENT_OVERRIDABLE, octave_num_processors_wrapper(), plan, r, s, and simd_align.
Referenced by instance_ok().
|
delete |
octave::float_fftw_planner::~float_fftw_planner | ( | void | ) |
Definition at line 447 of file oct-fftw.cc.
|
inlinestaticprivate |
Definition at line 264 of file oct-fftw.h.
Referenced by instance_ok().
|
inlinestatic |
Definition at line 229 of file oct-fftw.h.
|
inlinestatic |
Definition at line 217 of file oct-fftw.h.
Referenced by octave::fftw::fft(), octave::fftw::fftNd(), octave::fftw::ifft(), and octave::fftw::ifftNd().
|
private |
Definition at line 624 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, ESTIMATE, EXHAUSTIVE, HYBRID, MEASURE, meth, nn, OCTAVE_LOCAL_BUFFER, PATIENT, rd, rh, rn, rplan, rr, rs, rsimd_align, and UNKNOWN.
|
private |
Definition at line 498 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, d, ESTIMATE, EXHAUSTIVE, h, HYBRID, inplace, MEASURE, meth, n, nn, OCTAVE_LOCAL_BUFFER, PATIENT, plan, r, s, simd_align, and UNKNOWN.
|
private |
|
private |
Definition at line 742 of file oct-fftw.cc.
References meth.
|
static |
Definition at line 465 of file oct-fftw.cc.
References float_fftw_planner(), singleton_cleanup_list::add(), cleanup_instance(), instance, and retval.
Referenced by threads().
|
inlinestatic |
Definition at line 246 of file oct-fftw.h.
|
inlinestatic |
Definition at line 239 of file oct-fftw.h.
Referenced by Ffftw().
|
delete |
|
static |
Definition at line 479 of file oct-fftw.cc.
References instance, instance_ok(), nthreads, plan, rplan, and threads().
|
inlinestatic |
Definition at line 255 of file oct-fftw.h.
|
private |
Definition at line 289 of file oct-fftw.h.
Referenced by float_fftw_planner(), and do_create_plan().
|
private |
Definition at line 298 of file oct-fftw.h.
Referenced by float_fftw_planner(), and do_create_plan().
|
private |
Definition at line 304 of file oct-fftw.h.
Referenced by float_fftw_planner(), and do_create_plan().
|
staticprivate |
Definition at line 262 of file oct-fftw.h.
Referenced by instance_ok(), and threads().
|
private |
Definition at line 281 of file oct-fftw.h.
Referenced by do_create_plan(), and do_method().
|
private |
Definition at line 301 of file oct-fftw.h.
Referenced by float_fftw_planner(), and do_create_plan().
|
private |
Definition at line 328 of file oct-fftw.h.
Referenced by float_fftw_planner(), and threads().
|
private |
Definition at line 286 of file oct-fftw.h.
Referenced by float_fftw_planner(), ~float_fftw_planner(), do_create_plan(), do_method(), and threads().
|
private |
Definition at line 295 of file oct-fftw.h.
Referenced by float_fftw_planner(), and do_create_plan().
|
private |
Definition at line 310 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 319 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 322 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 307 of file oct-fftw.h.
Referenced by ~float_fftw_planner(), do_create_plan(), do_method(), and threads().
|
private |
Definition at line 316 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 313 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 324 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 292 of file oct-fftw.h.
Referenced by float_fftw_planner(), and do_create_plan().
|
private |
Definition at line 303 of file oct-fftw.h.
Referenced by float_fftw_planner(), and do_create_plan().