Studying OpenGL coding optimization

my pc is cuda enabled(also installed), how can I run opengl code with cuda for better performance