Sign in to follow this  
Belkacem

opencl and directx11 ! is it possible ?

Recommended Posts

Belkacem    100
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.

[url="http://www.khronos.org/registry/cl/"]My link[/url]

this is only directx extension that i found in the website ([url="http://www.khronos.org/registry/cl/api/1.1/cl_d3d10.h"]cl_d3d10.h[/url])

Share this post


Link to post
Share on other sites
bubu LV    1436
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
bubu LV    1436
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this