[QUOTE=mohitu;43966]clEnqueueReadBuffer throws CL_INVALID_MEM_OBJECT error. I am not able to find any solution to this.
[/QUOTE]
Could you please include:
Which device and driver/implementation version are you running on?
What arguments are you passing when the buffer is created?
It’d be great if you could include (snippets of) a log generated by the Intercept Layer for OpenCL Applications with CLInfoLogging and CallLogging enabled, but code snippets could work also: