Documentation for clEnqueueReadImage is confusing!
Created by: gibiansky
I think the documentation for clEnqueueReadImage and clEnqueueWriteImage are a bit confusing. For example, for read image it says:
Enqueues a command to read from a 2D or 3D image object to host memory.
But for write image it says:
Enqueues a command to write from a 2D or 3D image object to host memory.
This confusion appears in several places, such as in the Haddock documentation for what the Ptr ()
actually refers to. In clEnqueueReadImage, it says that pointer is
The pointer to a buffer in host memory where image data is to be read from.
Which makes no sense, I think, since I want to read from device memory into host memory?
Anyway I'm confused.
Thanks!