summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dsplib_benchmarks/cfft1/CFFT_T.C92
1 files changed, 87 insertions, 5 deletions
diff --git a/dsplib_benchmarks/cfft1/CFFT_T.C b/dsplib_benchmarks/cfft1/CFFT_T.C
index 66de834..4cbadaf 100644
--- a/dsplib_benchmarks/cfft1/CFFT_T.C
+++ b/dsplib_benchmarks/cfft1/CFFT_T.C
@@ -47,9 +47,9 @@
47//#include "t1_SCALE.h" 47//#include "t1_SCALE.h"
48//#include "t2_SCALE.h" //16 48//#include "t2_SCALE.h" //16
49//#include "t3_SCALE.h" //32 49//#include "t3_SCALE.h" //32
50//#include "t4_SCALE.h" //64 50#include "t4_SCALE.h" //64
51//#include "t5_SCALE.h" //128 51//#include "t5_SCALE.h" //128
52#include "t6_SCALE.h" //256 52//#include "t6_SCALE.h" //256
53//#include "t7_SCALE.h" //512 53//#include "t7_SCALE.h" //512
54//#include "t8_SCALE.h" //1024 54//#include "t8_SCALE.h" //1024
55//#include "t2_NOSCALE.h" 55//#include "t2_NOSCALE.h"
@@ -243,15 +243,97 @@ void main()
243 243
244 244
245 printf(" number of errors %d \n", compare_flag) ; 245 printf(" number of errors %d \n", compare_flag) ;
246 if (nx == 8)
247 {
248 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
249
250 {
251 sel_out =hwafft_8pts(x_br, scratch, fft_flag, scale_flag );
252 }
253
254 }
246 255
247 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
248 256
257 if (nx == 16)
249 { 258 {
250 sel_out =hwafft_16pts(x_br, scratch, fft_flag, scale_flag ); 259 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
260
261 {
262 sel_out =hwafft_16pts(x_br, scratch, fft_flag, scale_flag );
263 }
251 } 264 }
252 265
253 266
254 printf("Done with %ld iteration \n",iterations1 ); 267
268 if (nx == 32)
269 {
270 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
271
272 {
273 sel_out =hwafft_32pts(x_br, scratch, fft_flag, scale_flag );
274 }
275 }
276
277
278
279 if (nx == 64)
280 {
281 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
282
283 {
284 sel_out =hwafft_64pts(x_br, scratch, fft_flag, scale_flag );
285 }
286 }
287
288
289
290 if (nx == 128)
291 {
292 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
293
294 {
295 sel_out =hwafft_128pts(x_br, scratch, fft_flag, scale_flag );
296 }
297 }
298
299
300
301 if (nx == 256)
302 {
303 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
304
305 {
306 sel_out =hwafft_256pts(x_br, scratch, fft_flag, scale_flag );
307 }
308 }
309
310
311
312 if (nx == 512)
313 {
314 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
315
316 {
317 sel_out =hwafft_512pts(x_br, scratch, fft_flag, scale_flag );
318 }
319 }
320
321
322;
323 if (nx == 1024)
324 {
325 for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)
326
327 {
328 sel_out =hwafft_1024pts(x_br, scratch, fft_flag, scale_flag );
329 }
330 }
331
332
333
334
335
336 printf("Done with %ld iteration nx = %d \n",iterations1, nx );
255 337
256 338
257 339