PandA-2024.02
examples
MachSuite
MachSuite
fft
transpose
fft.h
Go to the documentation of this file.
1
/*
2
Implementations based on:
3
V. Volkov and B. Kazian. Fitting fft onto the g80 architecture. 2008.
4
*/
5
6
#include <stdio.h>
7
#include <stdlib.h>
8
#include <math.h>
9
#include "support.h"
10
11
#define TYPE double
12
13
typedef
struct
complex_t
{
14
TYPE
x
;
15
TYPE
y
;
16
}
complex
;
17
18
#define PI 3.1415926535
19
#ifndef M_SQRT1_2
20
#define M_SQRT1_2 0.70710678118654752440f
21
#endif
22
void
fft1D_512
(
TYPE
work_x[512],
TYPE
work_y[512]);
23
25
// Test harness interface code.
26
27
struct
bench_args_t
{
28
TYPE
work_x[512];
29
TYPE
work_y[512];
30
};
fft1D_512
void fft1D_512(TYPE work_x[512], TYPE work_y[512])
Definition:
fft.c:113
complex_t
Definition:
fft.h:13
complex
struct complex_t complex
TYPE
#define TYPE
Definition:
fft.h:11
complex_t::x
TYPE x
Definition:
fft.h:14
bench_args_t
Definition:
aes.h:18
complex_t::y
TYPE y
Definition:
fft.h:15
Generated on Mon Feb 12 2024 13:02:49 for PandA-2024.02 by
1.8.13