My GPU is NVidia GeForce GTX 650 Ti, driver 331.67, OpenCL 1.1 CUDA 6.0.1 (FULL_PROFILE).
I use OpenCL buffers for convert YUV420 to BGRA. Now I should make several image correction, for this I try use Image2D.
As result I have next pipeline:
YUV420 -> buffer -> kernel -> buffer -> image2D -> kernel -> image2D -> output on screen.
I success create all programms, kernels, input and output buffers, input and output image2D.
After convert YUV420 to BGRA with clEnqueueNDRangeKernel I copy output buffer to input image2D, unforunately function exit with error -5 (CL_OUT_OF_RESOURCES).
How can I solve this problem?
Thank you and excuse my bad english.