Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Do OpenGL and CUDA/OpenCL run in parallel?

Threaded View

  1. #1
    Intern Contributor
    Join Date
    Jul 2010
    Posts
    90

    Do OpenGL and CUDA/OpenCL run in parallel?

    Hi,

    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?

    Thanks,
    Fred
    Last edited by fred_em; 05-01-2012 at 12:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •