Currently to pass a texture (or renderbuffer) to OpenCL for some fast crunching on the GPU, and to pass the result back to OpenGL, I’m doing:
- << generate with OpenGL >>
- << crunch with OpenCL >>
- << process with OpenGL >>
Is there a faster method of synchronization than
clFinish currently supported on NVidia? Is Flush good enough?
Any word on when ARB_cl_event will be supported?
(Usage example: here on Slide 37)