I’m currently developing a simple blur on an greyscale image.
Currently I’m getting an CL_OUT_OF_RESOURCES on my first clEnqueueReadBuffer call.
After this call every clEnqueueWriteBuffer and clEnqueueReadBuffer fails with that error.
The kernel execution and the wait for finish is successful.
I used to question the maximum allocation size and took buffers that fit into that size but when I was doing that the computer crashed.
Now I’ using a much smaller size and the computer doesn’t crash but the program is not successful, too.
Can anybody tell me how I should find that failure?