#include "glfft.hpp"
#include <algorithm>
#include <stdexcept>
#include <numeric>
#include <fstream>
#include <sstream>
#include <assert.h>
Go to the source code of this file.
|
static void | reduce (unsigned &wg_size, unsigned &divisor) |
|
static unsigned | radix_to_wg_z (unsigned radix) |
|
static Radix | build_radix (unsigned Nx, unsigned Ny, Mode mode, unsigned vector_size, bool shared_banked, unsigned radix, WorkGroupSize size, bool pow2_stride) |
|
static Radix | build_resolve_radix (unsigned Nx, unsigned Ny, WorkGroupSize size) |
|
static bool | is_radix_valid (unsigned Nx, unsigned Ny, Mode mode, unsigned vector_size, unsigned radix, WorkGroupSize size, bool pow2_stride) |
|
static double | find_cost (unsigned Nx, unsigned Ny, Mode mode, unsigned radix, const FFTOptions &options, const FFTWisdom &wisdom) |
|
static vector< Radix > | split_radices (unsigned Nx, unsigned Ny, Mode mode, Target input_target, Target output_target, const FFTOptions &options, bool pow2_stride, const FFTWisdom &wisdom, double &accumulate_cost) |
|
static unsigned | mode_to_input_components (Mode mode) |
|
static void | print_radix_splits (const vector< Radix > radices[2]) |
|
static unsigned | type_to_input_components (Type type) |
|
#define GLFFT_SHADER_FROM_FILE |
static Radix build_radix |
( |
unsigned |
Nx, |
|
|
unsigned |
Ny, |
|
|
Mode |
mode, |
|
|
unsigned |
vector_size, |
|
|
bool |
shared_banked, |
|
|
unsigned |
radix, |
|
|
WorkGroupSize |
size, |
|
|
bool |
pow2_stride |
|
) |
| |
|
static |
static double find_cost |
( |
unsigned |
Nx, |
|
|
unsigned |
Ny, |
|
|
Mode |
mode, |
|
|
unsigned |
radix, |
|
|
const FFTOptions & |
options, |
|
|
const FFTWisdom & |
wisdom |
|
) |
| |
|
static |
static bool is_radix_valid |
( |
unsigned |
Nx, |
|
|
unsigned |
Ny, |
|
|
Mode |
mode, |
|
|
unsigned |
vector_size, |
|
|
unsigned |
radix, |
|
|
WorkGroupSize |
size, |
|
|
bool |
pow2_stride |
|
) |
| |
|
static |
static unsigned mode_to_input_components |
( |
Mode |
mode | ) |
|
|
inlinestatic |
static void print_radix_splits |
( |
const vector< Radix > |
radices[2] | ) |
|
|
inlinestatic |
static unsigned radix_to_wg_z |
( |
unsigned |
radix | ) |
|
|
static |
static void reduce |
( |
unsigned & |
wg_size, |
|
|
unsigned & |
divisor |
|
) |
| |
|
static |
static vector<Radix> split_radices |
( |
unsigned |
Nx, |
|
|
unsigned |
Ny, |
|
|
Mode |
mode, |
|
|
Target |
input_target, |
|
|
Target |
output_target, |
|
|
const FFTOptions & |
options, |
|
|
bool |
pow2_stride, |
|
|
const FFTWisdom & |
wisdom, |
|
|
double & |
accumulate_cost |
|
) |
| |
|
static |
static unsigned type_to_input_components |
( |
Type |
type | ) |
|
|
inlinestatic |