Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.3/mpi/f03-wrap.c @ 10:37bf6b4a2645
Add FFTW3
author | Chris Cannam |
---|---|
date | Wed, 20 Mar 2013 15:35:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:c0fb53affa76 | 10:37bf6b4a2645 |
---|---|
1 /* Generated automatically. DO NOT EDIT! */ | |
2 | |
3 #include "fftw3-mpi.h" | |
4 #include "ifftw-mpi.h" | |
5 | |
6 FFTW_EXTERN ptrdiff_t XM(local_size_many_transposed_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t block0, ptrdiff_t block1, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start); | |
7 FFTW_EXTERN ptrdiff_t XM(local_size_many_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t block0, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start); | |
8 FFTW_EXTERN ptrdiff_t XM(local_size_transposed_f03)(int rnk, const ptrdiff_t * n, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start); | |
9 FFTW_EXTERN ptrdiff_t XM(local_size_f03)(int rnk, const ptrdiff_t * n, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start); | |
10 FFTW_EXTERN ptrdiff_t XM(local_size_many_1d_f03)(ptrdiff_t n0, ptrdiff_t howmany, MPI_Fint f_comm, int sign, unsigned flags, ptrdiff_t * local_ni, ptrdiff_t * local_i_start, ptrdiff_t * local_no, ptrdiff_t * local_o_start); | |
11 FFTW_EXTERN ptrdiff_t XM(local_size_1d_f03)(ptrdiff_t n0, MPI_Fint f_comm, int sign, unsigned flags, ptrdiff_t * local_ni, ptrdiff_t * local_i_start, ptrdiff_t * local_no, ptrdiff_t * local_o_start); | |
12 FFTW_EXTERN ptrdiff_t XM(local_size_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start); | |
13 FFTW_EXTERN ptrdiff_t XM(local_size_2d_transposed_f03)(ptrdiff_t n0, ptrdiff_t n1, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start); | |
14 FFTW_EXTERN ptrdiff_t XM(local_size_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start); | |
15 FFTW_EXTERN ptrdiff_t XM(local_size_3d_transposed_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start); | |
16 FFTW_EXTERN X(plan) XM(plan_many_transpose_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t howmany, ptrdiff_t block0, ptrdiff_t block1, R * in, R * out, MPI_Fint f_comm, unsigned flags); | |
17 FFTW_EXTERN X(plan) XM(plan_transpose_f03)(ptrdiff_t n0, ptrdiff_t n1, R * in, R * out, MPI_Fint f_comm, unsigned flags); | |
18 FFTW_EXTERN X(plan) XM(plan_many_dft_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t block, ptrdiff_t tblock, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags); | |
19 FFTW_EXTERN X(plan) XM(plan_dft_f03)(int rnk, const ptrdiff_t * n, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags); | |
20 FFTW_EXTERN X(plan) XM(plan_dft_1d_f03)(ptrdiff_t n0, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags); | |
21 FFTW_EXTERN X(plan) XM(plan_dft_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags); | |
22 FFTW_EXTERN X(plan) XM(plan_dft_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags); | |
23 FFTW_EXTERN X(plan) XM(plan_many_r2r_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t iblock, ptrdiff_t oblock, R * in, R * out, MPI_Fint f_comm, const X(r2r_kind) * kind, unsigned flags); | |
24 FFTW_EXTERN X(plan) XM(plan_r2r_f03)(int rnk, const ptrdiff_t * n, R * in, R * out, MPI_Fint f_comm, const X(r2r_kind) * kind, unsigned flags); | |
25 FFTW_EXTERN X(plan) XM(plan_r2r_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, R * in, R * out, MPI_Fint f_comm, X(r2r_kind) kind0, X(r2r_kind) kind1, unsigned flags); | |
26 FFTW_EXTERN X(plan) XM(plan_r2r_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, R * in, R * out, MPI_Fint f_comm, X(r2r_kind) kind0, X(r2r_kind) kind1, X(r2r_kind) kind2, unsigned flags); | |
27 FFTW_EXTERN X(plan) XM(plan_many_dft_r2c_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t iblock, ptrdiff_t oblock, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags); | |
28 FFTW_EXTERN X(plan) XM(plan_dft_r2c_f03)(int rnk, const ptrdiff_t * n, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags); | |
29 FFTW_EXTERN X(plan) XM(plan_dft_r2c_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags); | |
30 FFTW_EXTERN X(plan) XM(plan_dft_r2c_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags); | |
31 FFTW_EXTERN X(plan) XM(plan_many_dft_c2r_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t iblock, ptrdiff_t oblock, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags); | |
32 FFTW_EXTERN X(plan) XM(plan_dft_c2r_f03)(int rnk, const ptrdiff_t * n, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags); | |
33 FFTW_EXTERN X(plan) XM(plan_dft_c2r_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags); | |
34 FFTW_EXTERN X(plan) XM(plan_dft_c2r_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags); | |
35 FFTW_EXTERN void XM(gather_wisdom_f03)(MPI_Fint f_comm_); | |
36 FFTW_EXTERN void XM(broadcast_wisdom_f03)(MPI_Fint f_comm_); | |
37 | |
38 ptrdiff_t XM(local_size_many_transposed_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t block0, ptrdiff_t block1, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start) | |
39 { | |
40 MPI_Comm comm; | |
41 | |
42 comm = MPI_Comm_f2c(f_comm); | |
43 return XM(local_size_many_transposed)(rnk,n,howmany,block0,block1,comm,local_n0,local_0_start,local_n1,local_1_start); | |
44 } | |
45 | |
46 ptrdiff_t XM(local_size_many_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t block0, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start) | |
47 { | |
48 MPI_Comm comm; | |
49 | |
50 comm = MPI_Comm_f2c(f_comm); | |
51 return XM(local_size_many)(rnk,n,howmany,block0,comm,local_n0,local_0_start); | |
52 } | |
53 | |
54 ptrdiff_t XM(local_size_transposed_f03)(int rnk, const ptrdiff_t * n, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start) | |
55 { | |
56 MPI_Comm comm; | |
57 | |
58 comm = MPI_Comm_f2c(f_comm); | |
59 return XM(local_size_transposed)(rnk,n,comm,local_n0,local_0_start,local_n1,local_1_start); | |
60 } | |
61 | |
62 ptrdiff_t XM(local_size_f03)(int rnk, const ptrdiff_t * n, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start) | |
63 { | |
64 MPI_Comm comm; | |
65 | |
66 comm = MPI_Comm_f2c(f_comm); | |
67 return XM(local_size)(rnk,n,comm,local_n0,local_0_start); | |
68 } | |
69 | |
70 ptrdiff_t XM(local_size_many_1d_f03)(ptrdiff_t n0, ptrdiff_t howmany, MPI_Fint f_comm, int sign, unsigned flags, ptrdiff_t * local_ni, ptrdiff_t * local_i_start, ptrdiff_t * local_no, ptrdiff_t * local_o_start) | |
71 { | |
72 MPI_Comm comm; | |
73 | |
74 comm = MPI_Comm_f2c(f_comm); | |
75 return XM(local_size_many_1d)(n0,howmany,comm,sign,flags,local_ni,local_i_start,local_no,local_o_start); | |
76 } | |
77 | |
78 ptrdiff_t XM(local_size_1d_f03)(ptrdiff_t n0, MPI_Fint f_comm, int sign, unsigned flags, ptrdiff_t * local_ni, ptrdiff_t * local_i_start, ptrdiff_t * local_no, ptrdiff_t * local_o_start) | |
79 { | |
80 MPI_Comm comm; | |
81 | |
82 comm = MPI_Comm_f2c(f_comm); | |
83 return XM(local_size_1d)(n0,comm,sign,flags,local_ni,local_i_start,local_no,local_o_start); | |
84 } | |
85 | |
86 ptrdiff_t XM(local_size_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start) | |
87 { | |
88 MPI_Comm comm; | |
89 | |
90 comm = MPI_Comm_f2c(f_comm); | |
91 return XM(local_size_2d)(n0,n1,comm,local_n0,local_0_start); | |
92 } | |
93 | |
94 ptrdiff_t XM(local_size_2d_transposed_f03)(ptrdiff_t n0, ptrdiff_t n1, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start) | |
95 { | |
96 MPI_Comm comm; | |
97 | |
98 comm = MPI_Comm_f2c(f_comm); | |
99 return XM(local_size_2d_transposed)(n0,n1,comm,local_n0,local_0_start,local_n1,local_1_start); | |
100 } | |
101 | |
102 ptrdiff_t XM(local_size_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start) | |
103 { | |
104 MPI_Comm comm; | |
105 | |
106 comm = MPI_Comm_f2c(f_comm); | |
107 return XM(local_size_3d)(n0,n1,n2,comm,local_n0,local_0_start); | |
108 } | |
109 | |
110 ptrdiff_t XM(local_size_3d_transposed_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, MPI_Fint f_comm, ptrdiff_t * local_n0, ptrdiff_t * local_0_start, ptrdiff_t * local_n1, ptrdiff_t * local_1_start) | |
111 { | |
112 MPI_Comm comm; | |
113 | |
114 comm = MPI_Comm_f2c(f_comm); | |
115 return XM(local_size_3d_transposed)(n0,n1,n2,comm,local_n0,local_0_start,local_n1,local_1_start); | |
116 } | |
117 | |
118 X(plan) XM(plan_many_transpose_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t howmany, ptrdiff_t block0, ptrdiff_t block1, R * in, R * out, MPI_Fint f_comm, unsigned flags) | |
119 { | |
120 MPI_Comm comm; | |
121 | |
122 comm = MPI_Comm_f2c(f_comm); | |
123 return XM(plan_many_transpose)(n0,n1,howmany,block0,block1,in,out,comm,flags); | |
124 } | |
125 | |
126 X(plan) XM(plan_transpose_f03)(ptrdiff_t n0, ptrdiff_t n1, R * in, R * out, MPI_Fint f_comm, unsigned flags) | |
127 { | |
128 MPI_Comm comm; | |
129 | |
130 comm = MPI_Comm_f2c(f_comm); | |
131 return XM(plan_transpose)(n0,n1,in,out,comm,flags); | |
132 } | |
133 | |
134 X(plan) XM(plan_many_dft_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t block, ptrdiff_t tblock, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags) | |
135 { | |
136 MPI_Comm comm; | |
137 | |
138 comm = MPI_Comm_f2c(f_comm); | |
139 return XM(plan_many_dft)(rnk,n,howmany,block,tblock,in,out,comm,sign,flags); | |
140 } | |
141 | |
142 X(plan) XM(plan_dft_f03)(int rnk, const ptrdiff_t * n, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags) | |
143 { | |
144 MPI_Comm comm; | |
145 | |
146 comm = MPI_Comm_f2c(f_comm); | |
147 return XM(plan_dft)(rnk,n,in,out,comm,sign,flags); | |
148 } | |
149 | |
150 X(plan) XM(plan_dft_1d_f03)(ptrdiff_t n0, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags) | |
151 { | |
152 MPI_Comm comm; | |
153 | |
154 comm = MPI_Comm_f2c(f_comm); | |
155 return XM(plan_dft_1d)(n0,in,out,comm,sign,flags); | |
156 } | |
157 | |
158 X(plan) XM(plan_dft_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags) | |
159 { | |
160 MPI_Comm comm; | |
161 | |
162 comm = MPI_Comm_f2c(f_comm); | |
163 return XM(plan_dft_2d)(n0,n1,in,out,comm,sign,flags); | |
164 } | |
165 | |
166 X(plan) XM(plan_dft_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, X(complex) * in, X(complex) * out, MPI_Fint f_comm, int sign, unsigned flags) | |
167 { | |
168 MPI_Comm comm; | |
169 | |
170 comm = MPI_Comm_f2c(f_comm); | |
171 return XM(plan_dft_3d)(n0,n1,n2,in,out,comm,sign,flags); | |
172 } | |
173 | |
174 X(plan) XM(plan_many_r2r_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t iblock, ptrdiff_t oblock, R * in, R * out, MPI_Fint f_comm, const X(r2r_kind) * kind, unsigned flags) | |
175 { | |
176 MPI_Comm comm; | |
177 | |
178 comm = MPI_Comm_f2c(f_comm); | |
179 return XM(plan_many_r2r)(rnk,n,howmany,iblock,oblock,in,out,comm,kind,flags); | |
180 } | |
181 | |
182 X(plan) XM(plan_r2r_f03)(int rnk, const ptrdiff_t * n, R * in, R * out, MPI_Fint f_comm, const X(r2r_kind) * kind, unsigned flags) | |
183 { | |
184 MPI_Comm comm; | |
185 | |
186 comm = MPI_Comm_f2c(f_comm); | |
187 return XM(plan_r2r)(rnk,n,in,out,comm,kind,flags); | |
188 } | |
189 | |
190 X(plan) XM(plan_r2r_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, R * in, R * out, MPI_Fint f_comm, X(r2r_kind) kind0, X(r2r_kind) kind1, unsigned flags) | |
191 { | |
192 MPI_Comm comm; | |
193 | |
194 comm = MPI_Comm_f2c(f_comm); | |
195 return XM(plan_r2r_2d)(n0,n1,in,out,comm,kind0,kind1,flags); | |
196 } | |
197 | |
198 X(plan) XM(plan_r2r_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, R * in, R * out, MPI_Fint f_comm, X(r2r_kind) kind0, X(r2r_kind) kind1, X(r2r_kind) kind2, unsigned flags) | |
199 { | |
200 MPI_Comm comm; | |
201 | |
202 comm = MPI_Comm_f2c(f_comm); | |
203 return XM(plan_r2r_3d)(n0,n1,n2,in,out,comm,kind0,kind1,kind2,flags); | |
204 } | |
205 | |
206 X(plan) XM(plan_many_dft_r2c_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t iblock, ptrdiff_t oblock, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags) | |
207 { | |
208 MPI_Comm comm; | |
209 | |
210 comm = MPI_Comm_f2c(f_comm); | |
211 return XM(plan_many_dft_r2c)(rnk,n,howmany,iblock,oblock,in,out,comm,flags); | |
212 } | |
213 | |
214 X(plan) XM(plan_dft_r2c_f03)(int rnk, const ptrdiff_t * n, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags) | |
215 { | |
216 MPI_Comm comm; | |
217 | |
218 comm = MPI_Comm_f2c(f_comm); | |
219 return XM(plan_dft_r2c)(rnk,n,in,out,comm,flags); | |
220 } | |
221 | |
222 X(plan) XM(plan_dft_r2c_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags) | |
223 { | |
224 MPI_Comm comm; | |
225 | |
226 comm = MPI_Comm_f2c(f_comm); | |
227 return XM(plan_dft_r2c_2d)(n0,n1,in,out,comm,flags); | |
228 } | |
229 | |
230 X(plan) XM(plan_dft_r2c_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, R * in, X(complex) * out, MPI_Fint f_comm, unsigned flags) | |
231 { | |
232 MPI_Comm comm; | |
233 | |
234 comm = MPI_Comm_f2c(f_comm); | |
235 return XM(plan_dft_r2c_3d)(n0,n1,n2,in,out,comm,flags); | |
236 } | |
237 | |
238 X(plan) XM(plan_many_dft_c2r_f03)(int rnk, const ptrdiff_t * n, ptrdiff_t howmany, ptrdiff_t iblock, ptrdiff_t oblock, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags) | |
239 { | |
240 MPI_Comm comm; | |
241 | |
242 comm = MPI_Comm_f2c(f_comm); | |
243 return XM(plan_many_dft_c2r)(rnk,n,howmany,iblock,oblock,in,out,comm,flags); | |
244 } | |
245 | |
246 X(plan) XM(plan_dft_c2r_f03)(int rnk, const ptrdiff_t * n, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags) | |
247 { | |
248 MPI_Comm comm; | |
249 | |
250 comm = MPI_Comm_f2c(f_comm); | |
251 return XM(plan_dft_c2r)(rnk,n,in,out,comm,flags); | |
252 } | |
253 | |
254 X(plan) XM(plan_dft_c2r_2d_f03)(ptrdiff_t n0, ptrdiff_t n1, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags) | |
255 { | |
256 MPI_Comm comm; | |
257 | |
258 comm = MPI_Comm_f2c(f_comm); | |
259 return XM(plan_dft_c2r_2d)(n0,n1,in,out,comm,flags); | |
260 } | |
261 | |
262 X(plan) XM(plan_dft_c2r_3d_f03)(ptrdiff_t n0, ptrdiff_t n1, ptrdiff_t n2, X(complex) * in, R * out, MPI_Fint f_comm, unsigned flags) | |
263 { | |
264 MPI_Comm comm; | |
265 | |
266 comm = MPI_Comm_f2c(f_comm); | |
267 return XM(plan_dft_c2r_3d)(n0,n1,n2,in,out,comm,flags); | |
268 } | |
269 | |
270 void XM(gather_wisdom_f03)(MPI_Fint f_comm_) | |
271 { | |
272 MPI_Comm comm_; | |
273 | |
274 comm_ = MPI_Comm_f2c(f_comm_); | |
275 XM(gather_wisdom)(comm_); | |
276 } | |
277 | |
278 void XM(broadcast_wisdom_f03)(MPI_Fint f_comm_) | |
279 { | |
280 MPI_Comm comm_; | |
281 | |
282 comm_ = MPI_Comm_f2c(f_comm_); | |
283 XM(broadcast_wisdom)(comm_); | |
284 } |