From bc2aa00e2a14951b20afa1fc91c05d302e57fb57 Mon Sep 17 00:00:00 2001 From: Erik Reckase Date: Tue, 21 Jun 2011 11:24:06 -0600 Subject: [PATCH] removed stray debug printfs --- cuburn/code/filtering.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cuburn/code/filtering.py b/cuburn/code/filtering.py index c998c50..20ae061 100644 --- a/cuburn/code/filtering.py +++ b/cuburn/code/filtering.py @@ -14,11 +14,6 @@ void colorclip(float4 *pixbuf, float gamma, float vibrancy, float highpow, int i = blockDim.x * blockIdx.x + threadIdx.x; float4 pix = pixbuf[i]; - if (i == 58905) { - printf("pix = %f %f %f %f\\n",pix.w,pix.x,pix.y,pix.z); - } - - if (pix.w <= 0) { pixbuf[i] = make_float4(bkgd.x, bkgd.y, bkgd.z, 0); return; @@ -34,11 +29,6 @@ void colorclip(float4 *pixbuf, float gamma, float vibrancy, float highpow, float ls = vibrancy * alpha / pix.w; - if (i == 58905) { - printf("alpha = %f, ls = %f\\n",alpha, ls); - } - - alpha = fminf(1.0f, fmaxf(0.0f, alpha)); float maxc = fmaxf(pix.x, fmaxf(pix.y, pix.z));