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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1776867 Title: OpenCL-beignet EnqueueNDRangeKernel fails after multiple execution with error -5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/beignet/+bug/1776867/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
