About the opengl programming

Hi.
All.
I’m a newer about OpenGL programming.
And I implemented an algorithm by Xcode 5 with OpenlGL.
But, while I run this program, it is really slow. Is there any other environment setting I need to do to make sure that the program will run by GPU?

I’m really puzzled.

If you could give some hints, I will appreciate a lot.

hi,

you need to give a few more infos.
what does thecode do ?
what do you mean by slow ? 30 FPS ?

regards
uwi2k2