| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

config.c
Go to the documentation of this file.
1 /*
2 * Copyright (c) 1997-1999, 2003 Massachusetts Institute of Technology
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 */
19
20 /* config.c -- this file contains all the codelets the system knows about */
21
22 /* $Id: config_prelude,v 1.7 2000/03/02 21:58:53 stevenj Exp $ */
23
24 #include "fftw-int.h"
25
26 /* the signature is the same as the size, for now */
27 #define NOTW_CODELET(x) \
28 &fftw_no_twiddle_##x##_desc
29 #define NOTWI_CODELET(x) \
30 &fftwi_no_twiddle_##x##_desc
31
32 #define TWIDDLE_CODELET(x) \
33 &fftw_twiddle_##x##_desc
34
35 #define TWIDDLEI_CODELET(x) \
36 &fftwi_twiddle_##x##_desc
37
38 /* automatically-generated list of codelets */
39
40 extern fftw_codelet_desc fftw_no_twiddle_1_desc;
41 extern fftw_codelet_desc fftwi_no_twiddle_1_desc;
42 extern fftw_codelet_desc fftw_no_twiddle_2_desc;
43 extern fftw_codelet_desc fftwi_no_twiddle_2_desc;
44 extern fftw_codelet_desc fftw_no_twiddle_3_desc;
45 extern fftw_codelet_desc fftwi_no_twiddle_3_desc;
46 extern fftw_codelet_desc fftw_no_twiddle_4_desc;
47 extern fftw_codelet_desc fftwi_no_twiddle_4_desc;
48 extern fftw_codelet_desc fftw_no_twiddle_5_desc;
49 extern fftw_codelet_desc fftwi_no_twiddle_5_desc;
50 extern fftw_codelet_desc fftw_no_twiddle_6_desc;
51 extern fftw_codelet_desc fftwi_no_twiddle_6_desc;
52 extern fftw_codelet_desc fftw_no_twiddle_7_desc;
53 extern fftw_codelet_desc fftwi_no_twiddle_7_desc;
54 extern fftw_codelet_desc fftw_no_twiddle_8_desc;
55 extern fftw_codelet_desc fftwi_no_twiddle_8_desc;
56 extern fftw_codelet_desc fftw_no_twiddle_9_desc;
57 extern fftw_codelet_desc fftwi_no_twiddle_9_desc;
58 extern fftw_codelet_desc fftw_no_twiddle_10_desc;
59 extern fftw_codelet_desc fftwi_no_twiddle_10_desc;
60 extern fftw_codelet_desc fftw_no_twiddle_11_desc;
61 extern fftw_codelet_desc fftwi_no_twiddle_11_desc;
62 extern fftw_codelet_desc fftw_no_twiddle_12_desc;
63 extern fftw_codelet_desc fftwi_no_twiddle_12_desc;
64 extern fftw_codelet_desc fftw_no_twiddle_13_desc;
65 extern fftw_codelet_desc fftwi_no_twiddle_13_desc;
66 extern fftw_codelet_desc fftw_no_twiddle_14_desc;
67 extern fftw_codelet_desc fftwi_no_twiddle_14_desc;
68 extern fftw_codelet_desc fftw_no_twiddle_15_desc;
69 extern fftw_codelet_desc fftwi_no_twiddle_15_desc;
70 extern fftw_codelet_desc fftw_no_twiddle_16_desc;
71 extern fftw_codelet_desc fftwi_no_twiddle_16_desc;
72 extern fftw_codelet_desc fftw_no_twiddle_32_desc;
73 extern fftw_codelet_desc fftwi_no_twiddle_32_desc;
74 extern fftw_codelet_desc fftw_no_twiddle_64_desc;
75 extern fftw_codelet_desc fftwi_no_twiddle_64_desc;
76 extern fftw_codelet_desc fftw_twiddle_2_desc;
77 extern fftw_codelet_desc fftwi_twiddle_2_desc;
78 extern fftw_codelet_desc fftw_twiddle_3_desc;
79 extern fftw_codelet_desc fftwi_twiddle_3_desc;
80 extern fftw_codelet_desc fftw_twiddle_4_desc;
81 extern fftw_codelet_desc fftwi_twiddle_4_desc;
82 extern fftw_codelet_desc fftw_twiddle_5_desc;
83 extern fftw_codelet_desc fftwi_twiddle_5_desc;
84 extern fftw_codelet_desc fftw_twiddle_6_desc;
85 extern fftw_codelet_desc fftwi_twiddle_6_desc;
86 extern fftw_codelet_desc fftw_twiddle_7_desc;
87 extern fftw_codelet_desc fftwi_twiddle_7_desc;
88 extern fftw_codelet_desc fftw_twiddle_8_desc;
89 extern fftw_codelet_desc fftwi_twiddle_8_desc;
90 extern fftw_codelet_desc fftw_twiddle_9_desc;
91 extern fftw_codelet_desc fftwi_twiddle_9_desc;
92 extern fftw_codelet_desc fftw_twiddle_10_desc;
93 extern fftw_codelet_desc fftwi_twiddle_10_desc;
94 extern fftw_codelet_desc fftw_twiddle_16_desc;
95 extern fftw_codelet_desc fftwi_twiddle_16_desc;
96 extern fftw_codelet_desc fftw_twiddle_32_desc;
97 extern fftw_codelet_desc fftwi_twiddle_32_desc;
98 extern fftw_codelet_desc fftw_twiddle_64_desc;
99 extern fftw_codelet_desc fftwi_twiddle_64_desc;
100
101 fftw_codelet_desc *fftw_config[] = {
102 NOTW_CODELET(1),
103 NOTWI_CODELET(1),
104 NOTW_CODELET(2),
105 NOTWI_CODELET(2),
106 NOTW_CODELET(3),
107 NOTWI_CODELET(3),
108 NOTW_CODELET(4),
109 NOTWI_CODELET(4),
110 NOTW_CODELET(5),
111 NOTWI_CODELET(5),
112 NOTW_CODELET(6),
113 NOTWI_CODELET(6),
114 NOTW_CODELET(7),
115 NOTWI_CODELET(7),
116 NOTW_CODELET(8),
117 NOTWI_CODELET(8),
118 NOTW_CODELET(9),
119 NOTWI_CODELET(9),
120 NOTW_CODELET(10),
121 NOTWI_CODELET(10),
122 NOTW_CODELET(11),
123 NOTWI_CODELET(11),
124 NOTW_CODELET(12),
125 NOTWI_CODELET(12),
126 NOTW_CODELET(13),
127 NOTWI_CODELET(13),
128 NOTW_CODELET(14),
129 NOTWI_CODELET(14),
130 NOTW_CODELET(15),
131 NOTWI_CODELET(15),
132 NOTW_CODELET(16),
133 NOTWI_CODELET(16),
134 NOTW_CODELET(32),
135 NOTWI_CODELET(32),
136 NOTW_CODELET(64),
137 NOTWI_CODELET(64),
138 TWIDDLE_CODELET(2),
139 TWIDDLEI_CODELET(2),
140 TWIDDLE_CODELET(3),
141 TWIDDLEI_CODELET(3),
142 TWIDDLE_CODELET(4),
143 TWIDDLEI_CODELET(4),
144 TWIDDLE_CODELET(5),
145 TWIDDLEI_CODELET(5),
146 TWIDDLE_CODELET(6),
147 TWIDDLEI_CODELET(6),
148 TWIDDLE_CODELET(7),
149 TWIDDLEI_CODELET(7),
150 TWIDDLE_CODELET(8),
151 TWIDDLEI_CODELET(8),
152 TWIDDLE_CODELET(9),
153 TWIDDLEI_CODELET(9),
154 TWIDDLE_CODELET(10),
155 TWIDDLEI_CODELET(10),
156 TWIDDLE_CODELET(16),
157 TWIDDLEI_CODELET(16),
158 TWIDDLE_CODELET(32),
159 TWIDDLEI_CODELET(32),
160 TWIDDLE_CODELET(64),
161 TWIDDLEI_CODELET(64),
162 (fftw_codelet_desc *) 0
163 };
fftw_no_twiddle_2_desc
fftw_codelet_desc fftw_no_twiddle_2_desc
Definition: fn_2.c:59
fftwi_twiddle_2_desc
fftw_codelet_desc fftwi_twiddle_2_desc
Definition: ftwi_2.c:76
fftw_codelet_desc
Definition: fftw.h:126
fftw_twiddle_64_desc
fftw_codelet_desc fftw_twiddle_64_desc
Definition: ftw_64.c:3194
fftw-int.h
fftwi_no_twiddle_2_desc
fftw_codelet_desc fftwi_no_twiddle_2_desc
Definition: fni_2.c:59
fftw_twiddle_32_desc
fftw_codelet_desc fftw_twiddle_32_desc
Definition: ftw_32.c:1389
fftwi_no_twiddle_3_desc
fftw_codelet_desc fftwi_no_twiddle_3_desc
Definition: fni_3.c:84
fftw_no_twiddle_13_desc
fftw_codelet_desc fftw_no_twiddle_13_desc
Definition: fn_13.c:537
fftwi_twiddle_64_desc
fftw_codelet_desc fftwi_twiddle_64_desc
Definition: ftwi_64.c:3198
fftw_twiddle_10_desc
fftw_codelet_desc fftw_twiddle_10_desc
Definition: ftw_10.c:369
fftw_no_twiddle_7_desc
fftw_codelet_desc fftw_no_twiddle_7_desc
Definition: fn_7.c:191
fftw_config
fftw_codelet_desc * fftw_config[]
Definition: config.c:101
fftw_no_twiddle_1_desc
fftw_codelet_desc fftw_no_twiddle_1_desc
Definition: fn_1.c:53
fftwi_twiddle_16_desc
fftw_codelet_desc fftwi_twiddle_16_desc
Definition: ftwi_16.c:605
fftwi_no_twiddle_32_desc
fftw_codelet_desc fftwi_no_twiddle_32_desc
Definition: fni_32.c:1040
TWIDDLEI_CODELET
#define TWIDDLEI_CODELET(x)
Definition: config.c:35
fftw_no_twiddle_15_desc
fftw_codelet_desc fftw_no_twiddle_15_desc
Definition: fn_15.c:443
fftw_twiddle_16_desc
fftw_codelet_desc fftw_twiddle_16_desc
Definition: ftw_16.c:605
fftw_no_twiddle_32_desc
fftw_codelet_desc fftw_no_twiddle_32_desc
Definition: fn_32.c:1040
fftwi_twiddle_4_desc
fftw_codelet_desc fftwi_twiddle_4_desc
Definition: ftwi_4.c:132
fftw_no_twiddle_5_desc
fftw_codelet_desc fftw_no_twiddle_5_desc
Definition: fn_5.c:141
fftwi_no_twiddle_10_desc
fftw_codelet_desc fftwi_no_twiddle_10_desc
Definition: fni_10.c:276
fftwi_twiddle_10_desc
fftw_codelet_desc fftwi_twiddle_10_desc
Definition: ftwi_10.c:369
NOTW_CODELET
#define NOTW_CODELET(x)
Definition: config.c:27
fftw_twiddle_3_desc
fftw_codelet_desc fftw_twiddle_3_desc
Definition: ftw_3.c:112
fftw_no_twiddle_14_desc
fftw_codelet_desc fftw_no_twiddle_14_desc
Definition: fn_14.c:400
fftw_no_twiddle_11_desc
fftw_codelet_desc fftw_no_twiddle_11_desc
Definition: fn_11.c:303
fftw_twiddle_4_desc
fftw_codelet_desc fftw_twiddle_4_desc
Definition: ftw_4.c:132
fftwi_twiddle_9_desc
fftw_codelet_desc fftwi_twiddle_9_desc
Definition: ftwi_9.c:368
fftwi_no_twiddle_16_desc
fftw_codelet_desc fftwi_no_twiddle_16_desc
Definition: fni_16.c:433
fftwi_no_twiddle_8_desc
fftw_codelet_desc fftwi_no_twiddle_8_desc
Definition: fni_8.c:193
fftw_no_twiddle_4_desc
fftw_codelet_desc fftw_no_twiddle_4_desc
Definition: fn_4.c:93
fftw_no_twiddle_16_desc
fftw_codelet_desc fftw_no_twiddle_16_desc
Definition: fn_16.c:433
fftwi_no_twiddle_5_desc
fftw_codelet_desc fftwi_no_twiddle_5_desc
Definition: fni_5.c:141
fftw_no_twiddle_8_desc
fftw_codelet_desc fftw_no_twiddle_8_desc
Definition: fn_8.c:193
fftwi_no_twiddle_13_desc
fftw_codelet_desc fftwi_no_twiddle_13_desc
Definition: fni_13.c:537
fftw_twiddle_9_desc
fftw_codelet_desc fftw_twiddle_9_desc
Definition: ftw_9.c:368
fftw_no_twiddle_3_desc
fftw_codelet_desc fftw_no_twiddle_3_desc
Definition: fn_3.c:84
fftw_no_twiddle_64_desc
fftw_codelet_desc fftw_no_twiddle_64_desc
Definition: fn_64.c:2455
fftwi_twiddle_6_desc
fftw_codelet_desc fftwi_twiddle_6_desc
Definition: ftwi_6.c:211
TWIDDLE_CODELET
#define TWIDDLE_CODELET(x)
Definition: config.c:32
fftw_twiddle_2_desc
fftw_codelet_desc fftw_twiddle_2_desc
Definition: ftw_2.c:76
fftwi_no_twiddle_7_desc
fftw_codelet_desc fftwi_no_twiddle_7_desc
Definition: fni_7.c:191
fftwi_twiddle_7_desc
fftw_codelet_desc fftwi_twiddle_7_desc
Definition: ftwi_7.c:263
fftw_twiddle_5_desc
fftw_codelet_desc fftw_twiddle_5_desc
Definition: ftw_5.c:188
fftwi_no_twiddle_1_desc
fftw_codelet_desc fftwi_no_twiddle_1_desc
Definition: fni_1.c:53
fftwi_twiddle_5_desc
fftw_codelet_desc fftwi_twiddle_5_desc
Definition: ftwi_5.c:188
fftwi_no_twiddle_15_desc
fftw_codelet_desc fftwi_no_twiddle_15_desc
Definition: fni_15.c:443
fftwi_twiddle_3_desc
fftw_codelet_desc fftwi_twiddle_3_desc
Definition: ftwi_3.c:112
fftw_no_twiddle_12_desc
fftw_codelet_desc fftw_no_twiddle_12_desc
Definition: fn_12.c:315
NOTWI_CODELET
#define NOTWI_CODELET(x)
Definition: config.c:29
fftwi_no_twiddle_11_desc
fftw_codelet_desc fftwi_no_twiddle_11_desc
Definition: fni_11.c:303
fftwi_no_twiddle_12_desc
fftw_codelet_desc fftwi_no_twiddle_12_desc
Definition: fni_12.c:315
fftw_no_twiddle_10_desc
fftw_codelet_desc fftw_no_twiddle_10_desc
Definition: fn_10.c:276
fftw_twiddle_7_desc
fftw_codelet_desc fftw_twiddle_7_desc
Definition: ftw_7.c:263
fftwi_no_twiddle_64_desc
fftw_codelet_desc fftwi_no_twiddle_64_desc
Definition: fni_64.c:2455
fftwi_no_twiddle_6_desc
fftw_codelet_desc fftwi_no_twiddle_6_desc
Definition: fni_6.c:150
fftw_twiddle_8_desc
fftw_codelet_desc fftw_twiddle_8_desc
Definition: ftw_8.c:276
fftwi_no_twiddle_9_desc
fftw_codelet_desc fftwi_no_twiddle_9_desc
Definition: fni_9.c:274
fftw_no_twiddle_9_desc
fftw_codelet_desc fftw_no_twiddle_9_desc
Definition: fn_9.c:274
fftwi_no_twiddle_14_desc
fftw_codelet_desc fftwi_no_twiddle_14_desc
Definition: fni_14.c:400
fftw_no_twiddle_6_desc
fftw_codelet_desc fftw_no_twiddle_6_desc
Definition: fn_6.c:150
fftwi_twiddle_8_desc
fftw_codelet_desc fftwi_twiddle_8_desc
Definition: ftwi_8.c:276
fftw_twiddle_6_desc
fftw_codelet_desc fftw_twiddle_6_desc
Definition: ftw_6.c:211
fftwi_twiddle_32_desc
fftw_codelet_desc fftwi_twiddle_32_desc
Definition: ftwi_32.c:1389
fftwi_no_twiddle_4_desc
fftw_codelet_desc fftwi_no_twiddle_4_desc
Definition: fni_4.c:93