davibu

[BUG] crash inside clBuildProgram()

Discussion created by davibu on Sep 5, 2010
Latest reply on Sep 7, 2010 by himanshu.gautam

The kernel available at this link http://davibu.interfree.it/tmp/kernel.cl causes a crash inside clBuildProgram().

This bug can easy be verified by pasting the above kernel source inside the StreamKernelAnalyzer. It will crash as soon you hit the Compile button.

The problem seems to be triggered by placing a "return;" inside few nested "if() { }".

I have also experiencing very long compilation time while working on the above kernel (i.e. up to 290 seconds). While the same kernel can be compiled for AMD CPU OpenCL device, NVIDIA OpenCL and Apple OpenCL in less than 1 second.

 

Outcomes