Add some function :
clWaitForEvents
clGetEventInfo
clCreateUserEvent
clRetainEvent
clReleaseEvent
clSetUserEventStatus
clGetEventProfilingInfo
clFlush
clFinish
clSetEventCallback --> This I am not sure how implement it about the callback ….
clEnqueueReadBuffer --> Read what ???? It's impossible to know which type I need read …. must be exactly (always) the same type than clEnqueueWriteBuffer
clEnqueueWriteBuffer --> I can with my dirty function know if is float or int … (how i can do for short number ?) seems the function are not working when I try to pass the last parameter event.