Comment 2 for bug 1776867

Revision history for this message
Rebecca Palmer (rebecca-palmer) wrote :

The bug is technically in your code: as you never call clReleaseEvent (waiting on an event doesn't release it), you leak an event object per iteration. I suspect the beignet change exposed this bug by greatly increasing the effective size of an event object, but don't yet know how.

There is a C++ interface to OpenCL (opencl-clhpp-headers) which may make this easier.