Jump to content
  • Advertisement
Sign in to follow this  
giugio

integrate cuda

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

hello.
I have a c++ console application with wild magic 5 (a 3d engine from geometrictools)
i would integrate in the project cuda, and in particular i would use the comunication from opengl and cuda for vbo and textures.
The project have some classes , and i don't understand how i can integrate cuda , i must insert the kernels in a class? or i must use cuda.h and cuda.cpp?
i ask .
thanks.

Share this post


Link to post
Share on other sites
Advertisement
If your going to use CUDA (I can't help on linking it to your project I'm afraid) then make sure you provide a CPU driven option aswell. If your project absolutely relies on CUDA then your limited to only running on systems with NVidia GPU's. Once you take into account that a considerable amount of users don't have dedicated GPU's and even those that do might have AMD/Ati GPU's then you've restricted yourself to a tiny amount of the market. Really your application needs to take advantage of CUDA where it can but if that hardware acceleration isn't available then you need a software implementation of everything aswell.

CUDA isn't just plug and play either btw.

Share this post


Link to post
Share on other sites
Yes, i know, but i would do some experience with nsight and cuda for the good documentation and the debug of nsight.
I wish try the parallel pattern and subsequently when i do some expirience i can using opencl

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!