Sign in to follow this  
MrMark

Where does CUDA fit into the render pipeline

Recommended Posts

MrMark    196
I want to start playing around with CUDA and experment with a voxel based rendering system. I'm just trying to get my head around where CUDA fits in. If I build a CUDA program, am I limited to only using the GPU, or can the GPU and CPU to communicte with each other ? I'm not too keen on developing a full application in CUDA as it would be a horriable waste of CPU power...

Share this post


Link to post
Share on other sites
Promethium    580
CUDA doesn't fit in the render pipeline at all. It's a API for using the GPU to solve highly parallel numerical programming problems. You can think of it as a way to turn your GPU into a second CPU, albeit a somewhat specialized one.

Share this post


Link to post
Share on other sites
MrMark    196
Cool, so I've got complete control over how everything renders. Can I still have my CPU's running the gameplay logic, with the GPU acting as a software renderer ?

Edit, found my answer in the nvidia docs. Yes I can use both the GPU and CPU in an application

Share this post


Link to post
Share on other sites
wolf    852
If it can run aside of DirectX or OpenGL you can offload all the tasks where you want no rasterizer involved or a simplified rasterizer like shadow maps and PostFX. I believe this will work in DirectX 11 where you can use the tranditional rasterizer based interface aside with a cuda-like interface. So you can run a ray-tracer on the side :-)

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