I receive an error after calling clEnqueueReadBuffer(). The error code isn’t defined in the opencl specification, so I don’t know what it is adn how to handle it. By reducing the number of instructions the error doesn’t appear. I do a lot of rounds, ceils and floors in my kernel. If I copy one of those instructions a few times, the error occurs again. Any suggestions where this error comes from? Maybe some kinda instruction limit, but that wouldn’t make much sense, since in CUDA there is no limitation.
Thanks in advance.