 
 #include <cuda_runtime.h>
 #include <cuda_gl_interop.h>
+#include <helper_cuda.h>
+#include <helper_cuda_gl.h> 
 
 #include <aligned_allocator.h>
 

void onGLUTExit() {
   fprintf(stdout, "De-Allocating memory.\n");
   //Deallocate(h_flock);
}

__host__ int main (int argc, char* argv[]) {

}

__host__ void Render() {
  
  // Clear screen
  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
  
  glMatrixMode(GL_MODELVIEW);
  glLoadIdentity();

  // Perspective modifications
  glRotatef(rX, 1.0, 0.0, 0.0);
  glRotatef(rY, 0.0, 1.0, 0.0);
  
  glClearColor(0.0, 0.0, 0.0, 0.0);
  glClear(GL_COLOR_BUFFER_BIT);
  glColor3f(1.0, 0.0, 0.0);
  glOrtho(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0);

  glBindBuffer(GL_ARRAY_BUFFER, positionsVBO);
  glVertexPointer(4, GL_FLOAT, 0, 0);
  glEnableClientState(GL_VERTEX_ARRAY);
  glDrawArrays(GL_POINTS, 0, width * height); // Where the magic happens
  glDisableClientState(GL_VERTEX_ARRAY);
  
  // Switch Buffers
  glutSwapBuffers();
  glutPostRedisplay();
}

__host__ void Keyboard(int key, int x, int y) {
