author Ran Katzur Fri, 20 May 2016 13:28:28 +0000 (09:28 -0400) committer Ran Katzur Fri, 20 May 2016 13:28:28 +0000 (09:28 -0400)

@@ -47,9 +47,9 @@
//#include "t1_SCALE.h"\r
//#include "t2_SCALE.h" //16\r
//#include "t3_SCALE.h" //32\r
-//#include "t4_SCALE.h" //64\r
+#include "t4_SCALE.h" //64\r
//#include "t5_SCALE.h" //128\r
-#include "t6_SCALE.h" //256\r
+//#include "t6_SCALE.h" //256\r
//#include "t7_SCALE.h" //512\r
//#include "t8_SCALE.h" //1024\r
//#include "t2_NOSCALE.h"\r
@@ -243,15 +243,97 @@ void main()
\r
\r
printf(" number of errors  %d  \n", compare_flag)    ;\r
+    if (nx == 8)\r
+    {\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_8pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
+\r
+    }\r
\r
-    for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
\r
+  if (nx == 16)\r
{\r
-        sel_out =hwafft_16pts(x_br, scratch, fft_flag, scale_flag );\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_16pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
}\r
\r
\r
-    printf("Done with %ld iteration  \n",iterations1 );\r
+\r
+    if (nx == 32)\r
+    {\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_32pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
+    }\r
+\r
+\r
+\r
+    if (nx == 64)\r
+    {\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_64pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
+    }\r
+\r
+\r
+\r
+    if (nx == 128)\r
+    {\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_128pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
+    }\r
+\r
+\r
+\r
+    if (nx == 256)\r
+    {\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_256pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
+    }\r
+\r
+\r
+\r
+    if (nx == 512)\r
+    {\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_512pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
+    }\r
+\r
+\r
+;\r
+    if (nx == 1024)\r
+    {\r
+        for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++)\r
+\r
+       {\r
+            sel_out =hwafft_1024pts(x_br, scratch, fft_flag, scale_flag );\r
+       }\r
+    }\r
+\r
+\r
+\r
+\r
+\r
+    printf("Done with %ld iteration nx = %d \n",iterations1, nx );\r
\r
\r
\r