Universe Sandbox Legacy

Universe Sandbox Legacy

View Stats:
Obliterator2 Feb 18, 2014 @ 9:58am
Is there a way to make the calculations run on the gpu?
It'd be so much faster if there was :P
< >
Showing 1-5 of 5 comments
Repomancer Mar 2, 2014 @ 8:20am 
It would?

GPUs do linear vector calculations quite rapidly, but their capabilities are severely limited compared to what the CPU can do. If you're spending part of the GPU's attention on other things you can't render at full power, either. Then there's the issue of how data gets in and out of the GPU -- that's an cost by itself, and anything that isn't purely cosmetic, i.e. comes with consequences that require higher-level handling (like collisions) can be too expensive for any performance win from GPU-based processing. Anything nonlinear also becomes a problem. While many things can certainly be sped up by dealing with them via GPU, there are always tradeoffs. They're significantly more difficult to program, and (unlike the x86 / x64 CPU architecture we're all running) products from different manufacturers have to be handled differently; nVidia and AMD chips don't share an instruction set.

tl;dr: Don't get me wrong -- sometimes there's a definite speed advantage for using the GPU vs. the CPU -- but while it well might make some things run faster, it's inaccurate to state that it'd always speed things up generally. There are reasons we still use CPUs, after all.
Dan Dixon  [developer] Sep 15, 2014 @ 4:19pm 
Universe Sandbox ², the sequel, supports GPU processing.

You can buy early alpha access to Universe Sandbox ² now at our website:
http://universesandbox.com/2
... and activate it on Steam.
I'm Ant Sep 17, 2014 @ 8:41pm 
What so it uses Cuda cores to comput the physics as well as multiple CPU cores?
Last edited by I'm Ant; Sep 17, 2014 @ 8:41pm
Dan Dixon  [developer] Sep 26, 2014 @ 8:24pm 
Universe Sandbox ² uses OpenCL. When it starts up it detects all the available OpenCL devices... does a quick test on each (and vanilla CPU support) to see what is the fastest and then uses that device. You can switch between available devices while the simulation is running.
Last edited by Dan Dixon; Sep 26, 2014 @ 9:57pm
I'm Ant Sep 27, 2014 @ 7:15am 
Nice
I like that you added 64bit I wasn't expecting that thanks.
< >
Showing 1-5 of 5 comments
Per page: 15 30 50