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

    );
}

#define GRID_SIZE 4096
#define OVER 8
#define BASELINES 32131
#define WPLANES 63
#define TIMESTEPS 200
#define CHANNELS 1

#define addBaselineToGrid(suff, ishalf)                                    \
__global__ void addBaselineToGrid##suff(                                   \
    double scale                                                           \
  , int max_supp                                                           \

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

