Jump to content
  • Advertisement
Sign in to follow this  
giugio1977

OpenGL opengl and opencl interop small engine

This topic is 727 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

I must create a small opengl 4.3 engine ,where i can find an example or a tutorial for gl files and interop with opencl?
And what version of opencl you advice to me ? 
how i can test compatibility with opencl ?
My gpu is a 4.3 opengl nvidia card.
thanks.

Share this post


Link to post
Share on other sites
Advertisement

After tinkering with various render api + compute api combinations (dx+dx, dx+cuda, gl+cuda, gl+cl, gl+gl), my recommendation would be to ditch GL+CL interop. It's messy, relies on lots of extensions, and can be slow to context switch between. Since you're using GL4.3, you may want to look into GL compute instead. Unfortunately the docs/tutorials are pretty lacking, but if you have familiarity with compute and compute APIs you should be able to figure it out, and once set up it's pretty straightforward.

Edited by ShaneYCG

Share this post


Link to post
Share on other sites

After tinkering with various render api + compute api combinations (dx+dx, dx+cuda, gl+cuda, gl+cl, gl+gl), my recommendation would be to ditch GL+CL interop. It's messy, relies on lots of extensions, and can be slow to context switch between. Since you're using GL4.3, you may want to look into GL compute instead. Unfortunately the docs/tutorials are pretty lacking, but if you have familiarity with compute and compute APIs you should be able to figure it out, and once set up it's pretty straightforward.

very thanks

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!