* Add a few constraints on the FFT size parameters and make the parameters
[matthijs/projects/montium-fft.git] / FFT.h
diff --git a/FFT.h b/FFT.h
index bb9d766363ac96c8a85bd016bad6c58c2c63cde0..5941e934477ca462d6d600c5be0d26b7e5eab293 100644 (file)
--- a/FFT.h
+++ b/FFT.h
@@ -8,9 +8,11 @@
 /* 2log of number of tiles */\r
 #define PARAM_q 2\r
 /** 2log of total FFT size */\r
-#define PARAM_n 4\r
+#define PARAM_n 6\r
 \r
-/* Note that the FFT size on each tile 2^(n-q) must be at least 8! */\r
+/* Note that the FFT size on each tile 2^(n-q) must be at least\r
+ * 8 and always a multiple of 4. The number of stages on each \r
+ * tile (n-q) must also be a multiple of 2. */\r
 \r
 /* But don't change these: */\r
 /* Number of tiles */\r