Added clEnqueueWriteBuffer method