From ef4c001bf2b34c457795b0bff54dd98c77419e47 Mon Sep 17 00:00:00 2001 From: MitchellHansen Date: Sat, 29 Oct 2016 18:49:43 -0700 Subject: [PATCH] Bug in the current crimson drivers (16.10.3) which incurs a 500kb per cycle memory leak when using printf statements inside cl kernels --- kernels/ray_caster_kernel.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernels/ray_caster_kernel.cl b/kernels/ray_caster_kernel.cl index 1309fb5..b082915 100644 --- a/kernels/ray_caster_kernel.cl +++ b/kernels/ray_caster_kernel.cl @@ -52,7 +52,7 @@ float4 cast_light_rays( } if (get_global_id(0) == 1037760) { - printf("%f", intensity); + //printf("%f", intensity); voxel_color = (float4)(1.0, 1.0, 1.0, 1.0); return voxel_color; }