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

01-09-2006, 06: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.

01-09-2006, 07: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.

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

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