hi all, i add the cl_event pointer to some kernes' wating event list, I guess each time its refcount increase by one, at last I use the clReleaseEvent once to release the cl_event. But this lead to a memory leak, I use the clGetEvetnInfo to see that the cl_event's reference count is not zero. My question is that whether clEnqueueNDRangeKernel just increase the event's reference count which in event_wait_list but not decrease it. And I test the code on nvidia
platform this situation not raise up. So if I run my code on ATI platform I need decrease the event's reference count by myself?