Skip to content

Commit

Permalink
removed debug traces
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Dec 2, 2022
1 parent 3f2f70d commit b205e1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
}
Expand Down

0 comments on commit b205e1c

Please sign in to comment.