GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-fftw.h"
Public Types | |
enum | FftwMethod { UNKNOWN = -1, ESTIMATE, MEASURE, PATIENT, EXHAUSTIVE, HYBRID } |
Public Member Functions | |
~octave_fftw_planner (void) | |
Static Public Member Functions | |
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 Complex *in, Complex *out) |
static void * | create_plan (const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const double *in, Complex *out) |
static bool | instance_ok (void) |
static FftwMethod | method (void) |
static FftwMethod | method (FftwMethod _meth) |
static void | threads (int nt) |
static int | threads (void) |
Protected Member Functions | |
octave_fftw_planner (void) | |
Private Member Functions | |
octave_fftw_planner (const octave_fftw_planner &) | |
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 Complex *in, Complex *out) |
void * | do_create_plan (const int rank, const dim_vector dims, octave_idx_type howmany, octave_idx_type stride, octave_idx_type dist, const double *in, Complex *out) |
FftwMethod | do_method (void) |
FftwMethod | do_method (FftwMethod _meth) |
octave_fftw_planner & | operator= (const octave_fftw_planner &) |
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 octave_fftw_planner * | instance = 0 |
Definition at line 33 of file oct-fftw.h.
Enumerator | |
---|---|
UNKNOWN | |
ESTIMATE | |
MEASURE | |
PATIENT | |
EXHAUSTIVE | |
HYBRID |
Definition at line 45 of file oct-fftw.h.
|
protected |
Definition at line 67 of file oct-fftw.cc.
References d, h, inplace, n, nthreads, OCTAVE_NPROC_CURRENT, octave_num_processors_wrapper(), plan, r, s, and simd_align.
Referenced by instance_ok().
octave_fftw_planner::~octave_fftw_planner | ( | void | ) |
Definition at line 92 of file oct-fftw.cc.
|
private |
|
inlinestaticprivate |
Definition at line 111 of file oct-fftw.h.
Referenced by instance_ok().
|
inlinestatic |
Definition at line 58 of file oct-fftw.h.
Referenced by octave_fftw::fft(), octave_fftw::fftNd(), octave_fftw::ifft(), and octave_fftw::ifftNd().
|
inlinestatic |
Definition at line 70 of file oct-fftw.h.
|
private |
Definition at line 150 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, d, dims, ESTIMATE, EXHAUSTIVE, h, HYBRID, inplace, MEASURE, meth, n, nn, OCTAVE_LOCAL_BUFFER, PATIENT, plan, r, s, simd_align, tmp, and UNKNOWN.
|
private |
Definition at line 275 of file oct-fftw.cc.
References CHECK_SIMD_ALIGNMENT, dims, ESTIMATE, EXHAUSTIVE, HYBRID, MEASURE, meth, nn, OCTAVE_LOCAL_BUFFER, PATIENT, rd, rh, rn, rplan, rr, rs, rsimd_align, tmp, and UNKNOWN.
|
private |
Definition at line 393 of file oct-fftw.cc.
References meth.
|
private |
|
static |
Definition at line 110 of file oct-fftw.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, octave_fftw_planner(), and retval.
Referenced by threads().
|
inlinestatic |
Definition at line 80 of file oct-fftw.h.
Referenced by Gfftw().
|
inlinestatic |
Definition at line 87 of file oct-fftw.h.
|
private |
|
static |
Definition at line 130 of file oct-fftw.cc.
References instance, instance_ok(), nthreads, plan, rplan, and threads().
|
inlinestatic |
Definition at line 96 of file oct-fftw.h.
|
private |
Definition at line 136 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 145 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 151 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
staticprivate |
Definition at line 109 of file oct-fftw.h.
Referenced by instance_ok(), and threads().
|
private |
Definition at line 128 of file oct-fftw.h.
Referenced by do_create_plan(), and do_method().
|
private |
Definition at line 148 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 175 of file oct-fftw.h.
Referenced by octave_fftw_planner(), and threads().
|
private |
Definition at line 133 of file oct-fftw.h.
Referenced by do_create_plan(), do_method(), octave_fftw_planner(), threads(), and ~octave_fftw_planner().
|
private |
Definition at line 142 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 157 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 166 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 169 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 154 of file oct-fftw.h.
Referenced by do_create_plan(), do_method(), threads(), and ~octave_fftw_planner().
|
private |
Definition at line 163 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 160 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 171 of file oct-fftw.h.
Referenced by do_create_plan().
|
private |
Definition at line 139 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().
|
private |
Definition at line 150 of file oct-fftw.h.
Referenced by do_create_plan(), and octave_fftw_planner().