Running CUDA examples without display

Hi

An experiment related to my research requires me to run nbody simulation and other examples without the display (opengl, glut etc.).

Are there any non-display versions of these benchmarks?

Thanks