From 18918a5e44677caead6dee9232a4d5027026e226 Mon Sep 17 00:00:00 2001 From: Marina Kolpakova Date: Tue, 19 Jun 2012 13:41:08 +0000 Subject: [PATCH] fix for 1.x compute capabilities --- modules/gpu/src/cuda/resize.cu | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/gpu/src/cuda/resize.cu b/modules/gpu/src/cuda/resize.cu index 844df9b..fb7aefd 100644 --- a/modules/gpu/src/cuda/resize.cu +++ b/modules/gpu/src/cuda/resize.cu @@ -569,10 +569,6 @@ namespace cv { namespace gpu { namespace device 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); } } @@ -611,10 +607,6 @@ namespace cv { namespace gpu { namespace device 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(out_stride + tid, x) = saturate_cast((end - start) * scale); } } @@ -635,9 +627,6 @@ namespace cv { namespace gpu { namespace device int thred_lines = divUp(src.cols, input_stride * iscale_x); int blocks = src.rows * thred_lines; - printf("device code executed for X coordinate with:\nsize %d warps %d, threads %d, thred_lines %d, blocks %d input strude %d\n", - src.cols, warps, threads, thred_lines, blocks, input_stride * iscale_x); - typedef typename scan_traits::scan_line_type smem_type; resise_scan_fast_x<<>> @@ -647,9 +636,6 @@ namespace cv { namespace gpu { namespace device 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<<>> (buffer, dst, iscale_x, iscale_y, thred_lines, input_stride * iscale_y); -- 2.7.4