<div dir="ltr">I'm experimenting with sorting algorithms on Ivy Bridge GPU using OpenCL and finally get to one that matches/outperforms (at least when using Intel Windows SDK for IvyBr GPU) the combined quad CPU cores on an Ivy Bridge using OpenMP ) which is encouraging.<br>
<br>However, the same OpenCL kernel when run on Beignet causes the GPU to hang with the following message in system log:<br><br>[root@ivy4 utests]# dmesg<br><div><div>[17909.175965] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung<br>
<br></div><div>I've reduced and simplifed the reproducing scenario down to the attached test case, which when reproduces the GPU hang (ignore the SUCCESS message on utest cmd console - instead see the hang reported in the system log with dmesg).  The weird thing is, if the XOR in line 14 in <a href="http://compiler_swap.cl">compiler_swap.cl</a> is changed to either a AND or an OR, the GPU would not hang. <br>
<br></div><div>Is there anything illegal about the way the constructs are used? Could anyone help shed some light on this? <br><br></div><div>Thanks,<br></div><div>/Ed<br></div></div></div>