             thred_lines = divUp(src.rows, input_stride * iscale_y);
             blocks = dst.cols * thred_lines;
 
-            printf("device code executed for Y coordinate with:\nsize %d warps %d, threads %d, thred_lines %d, blocks %d\n",
-                   dst.rows, warps, threads, thred_lines, blocks);
-
             resise_scan_fast_y<T, smem_type><<<blocks, threads, warps * 32 * sizeof(smem_type)>>>
                     (buffer, dst, iscale_x, iscale_y, thred_lines, input_stride * iscale_y);
 

                W start = (tid == 0)? (W)0:sbuf[start_idx];
                W end = sbuf[end_idx];

                if (blockIdx.x == 0)
                    printf("%d~~~~~~~~ start_idx %d, end_idx %d, start %f, end %f\n",
                           tid, start_idx, end_idx, start, end);

                dst(y, out_stride  +  tid) = (end - start);
            }
        }

                W start = (tid == 0)? (W)0:sbuf[start_idx];
                W end = sbuf[end_idx];

                dst(out_stride  +  tid, x) = saturate_cast<T>((end - start) * scale);
            }
        }
