Jump to content
  • Advertisement
Sign in to follow this  
Belkacem

opencl and directx11 ! is it possible ?

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

hi !

direct3d11 is my main libs for graphics render , and now i want to use open cl to accelerate my render , mu question is simple

can i use opencl with direct3d11 together ??

because when i go to opencl website i found header files to use opencl and i found opengl and directx10 only.

My link

this is only directx extension that i found in the website (cl_d3d10.h)

Share this post


Link to post
Share on other sites
Advertisement
If you are targeting Direct3d11 hardware, then you can use DirectCompute that integrates with Direct3d11 very nicely.
But if that isn't an options, then I guess you could also create Direct3d10 device and share resources between direct3d11: http://msdn.microsoft.com/en-us/library/ee913554%28VS.85%29.aspx (not so sure about this, though).

Share this post


Link to post
Share on other sites
Well if you don't count OpenCL.dll library + needed driver support from AMD, Nvidia or Intel (or any other OpenCL runtime vendor), then yes - you don't need anything else.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!