     );
 }
 
-#define GRID_SIZE 4096
-#define OVER 8
-#define BASELINES 32131
-#define WPLANES 63
-#define TIMESTEPS 200
-#define CHANNELS 1
-
 #define addBaselineToGrid(suff, ishalf)                                    \
+extern "C"                                                                 \
 __global__ void addBaselineToGrid##suff(                                   \
     double scale                                                           \
   , int max_supp                                                           \


#include "../GCF_new/scale_complex_by_dbl.cuh"

__global__ void  normalizeAndExtractPolarization(
    int pol
  , complexd dst_grid[GRID_SIZE][GRID_SIZE]

addBaselinesToGridSkaMid(FullGCF, false)

#define addBaselinesToGridSkaMidUsingPermutations(suff, ishalf)                              \
extern "C"                                                                                   \
__global__ void addBaselinesToGridSkaMidUsingPermutations##suff(                             \
    double scale                                                                             \
  , const BlWMap permutations[BASELINES]                                                     \
