       , max_supp
       , grid_size
       , over
-      > (gcf, grid, uvo_shared, vis_shared, n, myU, myV);
+      > (gcf, grid, uvo_shared, vis_shared, locp, myU, myV);
   }
 }
 

  , Double4c grid[2048][2048]
  , const w_traits<32>::uvw_type *uvwp
  , const Double4c * visp
  , int n
  );

  , Double4c grid[grid_size][grid_size]
  , const Pregridded * uvwp
  , const Double4c * visp
  , int2 * locp
  , int myU
  , int myV
  ) {
  int bl = blockIdx.x;
  uvwp += locp[bl].x;
  visp += locp[bl].x;

  complexd
      sumXX = {0, 0}
    , sumXY = {0, 0}
