cl_int clEnqueueWriteImageEnqueues a command to write to an image or image array object from host memory.
ptr
The pointer to a buffer in host memory where image data is to be written to.
image data is to be written toto be written to