I noticed that the Intel Kernel Builder has a memory leakage, it seems that the event object is not freed after each execution of the kernel, you can find a bug reproducer for this issue and a screen shot attached to this post.
PS: change reproducer.c to reproducer.cl
The version of Kernelbuilder I'm using is 188.8.131.52
Thanks for the reprodcer. I'll take a look and get back to you soon.
For more complete information about compiler optimizations, see our Optimization Notice.