Jump to content

1 Screenshot

About This File

This App was build from the source of James Price (2015). Some parameters are added and changed for useage as an bench (FPS/ GLOP/S)

NEW: now keys (keypad) + / - to switch between 40960 and 57344 Bodies (fast gpus run in 60 FPS limit @ 40960)

 

This is a N-body simulation with visualization for exploring the use of Metal for gpu compute and OpenGL graphics on OS X.

N-body simulations exits already using CUDA and OpenCL - both gpu compute SDKs/languages.

 

Metal also has some of the gpu compute features like CUDA and OpenCL, even it is normally used as an faster replacement for OpenGL.

 

This Bench shows FPS and GFLOP/S. The FPS is limited to 60 (FPS/Hz).

Q: Quit D: changes Metal device if you have more than one Metal gpu device available

 

My GT 740 getting around 7,5 FPS 40960 and 3,5 FPS 57344 Bodies


What's New in Version 1.1   See changelog

Released

  • * fixed overwriting of MIN / MAX values if fps running in 60 FPS barrier



User Feedback

Recommended Comments

Thanks. Would be interesting how iGPU (Intel GPU) performs.

If someone has iGPU + GPUs he can switch by key d the gpu.

Share this comment


Link to comment
Share on other sites

Yep, GTX 970 run in the 60 FPS limit.

So good to know GFlops/s - they will rise, even the FPS is limited at 60 Hz.

to bad, that Apple doenst use new Pascal gpus - i think already the GTX 1060 would run at 60 Fps.

Share this comment


Link to comment
Share on other sites

Gainward GTX970 Phantom :

 

59,9 fps

Bodies:40960

Gflops/s:2119

In fact I see flickering between 59,9 and 60,3 fps. Seems to me it's someway restraind...

Share this comment


Link to comment
Share on other sites

with new version 1.1, same fps @ 40960 bodies

keypad key + = 57344 bodies around 3,5 FPS

 

So if you have an fast gpu try to switch to the higher bodies count.

Share this comment


Link to comment
Share on other sites

With latest Webdrivers and Cuda

Gainward GTX970 Phantom

 max 60,3 fps @ 40960 bodies

 

57344 bodies

41,1 fps

2831 Gflops/s

 

Thanks for update !

Share this comment


Link to comment
Share on other sites

Sierra:

Gainward GTX970 Phantom :

 

59,9 fps

Bodies:40960

Gflops/s:2119

 

High Sierra:

Gainward GTX970 Phantom : Nvidia Webdriver 378.10.10.10.15.114

 

59,9 fps

Bodies: 57344

Gflops/s: 2814

 

post-305243-0-70885200-1506717298_thumb.png

Share this comment


Link to comment
Share on other sites
×