PDA

View Full Version : How can I run a C code on GPU using openGL?



chrismatt83
01-09-2006, 07:11 AM
I have this code in C and want it to run on GPU using openGL. I am just beginning to learn openGL.
My main concern is how to shift the code from running on CPU to GPU. Any help is appreciated.

jide
01-09-2006, 08:22 AM
What kind of code ? You said 'this code' but I can't see it.
For doing codes on the GPU side you'll have to use a shader language, like GLSL.

songho
01-09-2006, 09:23 AM
Try the following links.

- gpgpu (http://www.gpgpu.org/)
- openvidia (http://openvidia.sourceforge.net/)
==song==