     );
 }
 
-#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                                                           \

addBaselineToGrid(FullGCF, false)

#define addBaselinesToGridSkaMid(suff, ishalf)                                                \
__global__ void addBaselinesToGridSkaMid##suff(                                               \
    double scale                                                                              \
  , const BlWMap permutations[BASELINES]                                                      \

#include "common.h"
#include "metrix.h"
#include "atomic_add.h"
#include "OskarBinReader.h"

