Bug in the current crimson drivers (16.10.3) which incurs a 500kb per
cycle memory leak when using printf statements inside cl kernels
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user