Explorar el Código

deinitialize driver

Samuel Thibault hace 13 años
padre
commit
f24447c075
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      examples/gl_interop/gl_interop_idle.c

+ 2 - 0
examples/gl_interop/gl_interop_idle.c

@@ -146,6 +146,8 @@ int main(int argc, char **argv)
 	glutIdleFunc(idle);
 	/* Now run the glut loop */
 	glutMainLoop();
+	/* And deinitialize driver */
+	starpu_driver_deinit(&drivers[0]);
 	printf("finished running the driver\n");
 
 	starpu_shutdown();