chibi@1604:~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody$ ./nbody -numdevices=4 Run "nbody -benchmark [-numbodies=]" to measure performance. -fullscreen (run n-body simulation in fullscreen mode) -fp64 (use double precision floating point values for simulation) -hostmem (stores simulation data in host memory) -benchmark (run benchmark to measure performance) -numbodies= (number of bodies (>= 1) to run in simulation) -device= (where d=0,1,2.... for the CUDA device to use) -numdevices= (where i=(number of CUDA devices > 0) to use for simulation) -compare (compares simulation results running once on the default GPU and once on the CPU) -cpu (run n-body simulation on the CPU) -tipsy= (load a tipsy model file for simulation) NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled. number of CUDA devices = 4 > Windowed mode > Simulation data stored in system memory > Single precision floating point simulation > 4 Devices used for simulation GPU Device 0: "GeForce GTX 1070" with compute capability 6.1 > Compute 6.1 CUDA device: [GeForce GTX 1070] > Compute 6.1 CUDA device: [GeForce GTX 1050 Ti] > Compute 6.1 CUDA device: [GeForce GTX 1070] > Compute 6.1 CUDA device: [GeForce GTX 1070] chibi@1604:~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody$ nvidia-smi Thu Jul 6 15:49:24 2017 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 381.22 Driver Version: 381.22 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 105... Off | 0000:01:00.0 On | N/A | | 37% 48C P0 35W / 75W | 731MiB / 4037MiB | 2% Default | +-------------------------------+----------------------+----------------------+ | 1 GeForce GTX 1070 Off | 0000:02:00.0 Off | N/A | | 0% 46C P8 6W / 195W | 102MiB / 8114MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 2 GeForce GTX 1070 Off | 0000:82:00.0 Off | N/A | | 17% 56C P8 9W / 151W | 11MiB / 8114MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 3 GeForce GTX 1070 Off | 0000:83:00.0 Off | N/A | | 23% 57C P8 8W / 151W | 11MiB / 8114MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1669 G /usr/lib/xorg/Xorg 554MiB | | 0 2317 G compiz 172MiB | | 1 1586 C /usr/bin/python 91MiB | +-----------------------------------------------------------------------------+ chibi@1604:~/NVIDIA_CUDA-8.0_Samples/5_Simulations/nbody$