Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | /* |
2 | * Copyright (c) 1997-1999 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 | |||
107 | pj | 22 | /* $Id: config.c,v 1.2 2003-03-24 11:14:49 pj Exp $ */ |
2 | pj | 23 | |
107 | pj | 24 | #include <fftw-int.h> |
2 | pj | 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 | { |
||
103 | NOTW_CODELET(1), |
||
104 | NOTWI_CODELET(1), |
||
105 | NOTW_CODELET(2), |
||
106 | NOTWI_CODELET(2), |
||
107 | NOTW_CODELET(3), |
||
108 | NOTWI_CODELET(3), |
||
109 | NOTW_CODELET(4), |
||
110 | NOTWI_CODELET(4), |
||
111 | NOTW_CODELET(5), |
||
112 | NOTWI_CODELET(5), |
||
113 | NOTW_CODELET(6), |
||
114 | NOTWI_CODELET(6), |
||
115 | NOTW_CODELET(7), |
||
116 | NOTWI_CODELET(7), |
||
117 | NOTW_CODELET(8), |
||
118 | NOTWI_CODELET(8), |
||
119 | NOTW_CODELET(9), |
||
120 | NOTWI_CODELET(9), |
||
121 | NOTW_CODELET(10), |
||
122 | NOTWI_CODELET(10), |
||
123 | NOTW_CODELET(11), |
||
124 | NOTWI_CODELET(11), |
||
125 | NOTW_CODELET(12), |
||
126 | NOTWI_CODELET(12), |
||
127 | NOTW_CODELET(13), |
||
128 | NOTWI_CODELET(13), |
||
129 | NOTW_CODELET(14), |
||
130 | NOTWI_CODELET(14), |
||
131 | NOTW_CODELET(15), |
||
132 | NOTWI_CODELET(15), |
||
133 | NOTW_CODELET(16), |
||
134 | NOTWI_CODELET(16), |
||
135 | NOTW_CODELET(32), |
||
136 | NOTWI_CODELET(32), |
||
137 | NOTW_CODELET(64), |
||
138 | NOTWI_CODELET(64), |
||
139 | TWIDDLE_CODELET(2), |
||
140 | TWIDDLEI_CODELET(2), |
||
141 | TWIDDLE_CODELET(3), |
||
142 | TWIDDLEI_CODELET(3), |
||
143 | TWIDDLE_CODELET(4), |
||
144 | TWIDDLEI_CODELET(4), |
||
145 | TWIDDLE_CODELET(5), |
||
146 | TWIDDLEI_CODELET(5), |
||
147 | TWIDDLE_CODELET(6), |
||
148 | TWIDDLEI_CODELET(6), |
||
149 | TWIDDLE_CODELET(7), |
||
150 | TWIDDLEI_CODELET(7), |
||
151 | TWIDDLE_CODELET(8), |
||
152 | TWIDDLEI_CODELET(8), |
||
153 | TWIDDLE_CODELET(9), |
||
154 | TWIDDLEI_CODELET(9), |
||
155 | TWIDDLE_CODELET(10), |
||
156 | TWIDDLEI_CODELET(10), |
||
157 | TWIDDLE_CODELET(16), |
||
158 | TWIDDLEI_CODELET(16), |
||
159 | TWIDDLE_CODELET(32), |
||
160 | TWIDDLEI_CODELET(32), |
||
161 | TWIDDLE_CODELET(64), |
||
162 | TWIDDLEI_CODELET(64), |
||
163 | (fftw_codelet_desc *) 0 |
||
164 | }; |