[Beignet] clEnqueueNDRangeKernel and kernel completion

Zou, Nanhai nanhai.zou at intel.com
Wed Jun 5 22:45:28 PDT 2013



>>[Gong, Zhigang] Your finding is correct, current clFinish does nothing which is not comply with the spec.  It is on our TODO list. Actually, we have more related TODO items. Currently, the clEnqueueNDRangeKernel flushes the batchbuffer every time, and thus the clFlush is also an empty function. We also need to optimize it to track the states and avoid some unnecessary pipe controls for each kernel. But our team's current focus is to implement the missing opencl features, and try hard to pass the piglit test. After that, we will turn to these items. And as usual, if everyone from the community want to contribute on these items, we will be more than happy to review and accept it.

Unlike the cl_event and asynchronize things in our plan, this clFinish one looks like a bug.
Code is there, just not work as expected.

Edward, would  you mind provide a simple test case for this?

Thanks
Zou Nanhai

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130606/42b933a0/attachment.html>


More information about the Beignet mailing list