Do OpenGL and CUDA/OpenCL run in parallel?
I have a situation in which I really need OpenGL rendering and CUDA calculations to run in parallel, completely decoupled. They really *need* to run in parallel, from an application, and even theoretical standpoint, eg. I need to launch both tasks and do something when the first has completed. Having the GPU internally handle OpenGL then OpenCL sequentially would be a showstopper in my scenario.
Do OpenGL and CUDA/OpenCL run in parallel on the GPU? In other words, when launching, say, a CUDA kernel, and immediately after if I start to render an OpenGL scene, will the GPU wait until the CUDA kernel has completed before processing OpenGL draw calls?
Last edited by fred_em; 05-01-2012 at 12:33 AM.