Suppose I have an OpenCL image (which is, in particular, an OpenCL memory object). I can:
clGetMemoryObjectInfo()of that image withCL_MEM_ASSOCIATED_MEMOBJECT; orclGetImageInfo()of that image withCL_IMAGE_BUFFER.
Will this always return the same buffer (or NULL in case the image was not created from a buffer)? If so - why does CL_IMAGE_BUFFER even exist? And if not, what's the difference between them, exactly?