From b205e1c3aacec668a5e5b61b4f4b0419728d011e Mon Sep 17 00:00:00 2001 From: Robert Haase Date: Fri, 2 Dec 2022 08:11:13 +0100 Subject: [PATCH] removed debug traces --- .../_tier2/y_position_of_maximum_y_projection_x.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl b/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl index 66bdf92e..45437e66 100644 --- a/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl +++ b/pyclesperanto_prototype/_tier2/y_position_of_maximum_y_projection_x.cl @@ -4,6 +4,7 @@ __kernel void y_position_of_maximum_y_projection ( IMAGE_src_TYPE src ) { const sampler_t sampler = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_NEAREST; + const int x = get_global_id(0); const int z = get_global_id(1); float max = 0; @@ -13,7 +14,6 @@ __kernel void y_position_of_maximum_y_projection ( float value = READ_src_IMAGE(src,sampler,POS_src_INSTANCE(x,y,z,0)).x; if (value > max || y == 0) { max = value; - printf('%i', max); max_pos = y; } }