   mesh[xr][yr] = r2;
 }
 
-extern "C" __global__ void r2(cuDoubleComplex mesh[513][513], double t2) {
-  ucs_common<256>(mesh, t2);
+extern "C" __global__ void r2(cuDoubleComplex mesh[257][257], double t2) {
+  ucs_common<128>(mesh, t2);
 }
 
 


// test instantiation
template __device__
void calc_inplace<256>(
    cuDoubleComplex mesh[513][513]
  , double w
  );
#endif


extern "C" __global__ void normalize(
    double norm
  , cuDoubleComplex v[257*257]
  ){
  normalize_kernel<128>(norm, v);
}


