Jump to content
  • Advertisement
Sign in to follow this  

OpenCL progress readback?

This topic is 2900 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a reasonably efficient way to send a progress update back from an OpenCL kernel? I have a x86 implementation of a very intensive math function right now, and I've set it up to update an integer that another thread can poll to update a UI progress bar. I figure I can't efficiently get the constant update like I have right now, but some sort of periodic (at least once a second) readback from OpenCL would go a long way. I'm mostly wondering if there's a an existing paradigm for doing this sort of thing (other than just breaking the task into smaller kernels and running those one at a time).

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!