 template __device__
 void calc<256>(
     cuDoubleComplex dst[513][513]
-  , cuDoubleComplex src[513][513]
+  , const cuDoubleComplex src[513][513]
   , double w
   );
 

__device__
void copy_ucs_2_over(
    cuDoubleComplex dst[max_half_support * oversample * 2 + 1][max_half_support * oversample * 2 + 1]
  , cuDoubleComplex src[max_half_support * 2 + 1][max_half_support * 2 + 1]
  ) {
  const int
      dst_center = max_half_support * oversample

template __device__
void copy_ucs_2_over<256,8>(
    cuDoubleComplex dst[4097][4097]
  , const cuDoubleComplex src[513][513]
  );
