Bug in the current crimson drivers (16.10.3) which incurs a 500kb per

cycle memory leak when using printf statements inside cl kernels
master
MitchellHansen 8 years ago
parent 561c07c602
commit ef4c001bf2

@ -52,7 +52,7 @@ float4 cast_light_rays(
} }
if (get_global_id(0) == 1037760) { if (get_global_id(0) == 1037760) {
printf("%f", intensity); //printf("%f", intensity);
voxel_color = (float4)(1.0, 1.0, 1.0, 1.0); voxel_color = (float4)(1.0, 1.0, 1.0, 1.0);
return voxel_color; return voxel_color;
} }

Loading…
Cancel
Save