基于图形处理器的高性能直接引力N体模拟
High Performance Direct Gravitational N-body Simulations on Graphics Processing Units
摘要:
我们提出的结果重力直接$N$体模拟使用商业图形处理器(GPU)NVIDIA Quadro FX 1400和GeForce 8800 GTX,并比较结果与GRAPE-6Af专用硬件。$N$ -体问题的力计算直接使用GPU在Cg中实现以加速计算。运动方程的积分,在主机上运行,在C中使用具有块时间步长的四阶预测-校正Hermite积分器来实现。我们发现,对于大量的颗粒($N \apgt 10^4$)现代图形处理单元提供了一个有吸引力的低成本替代GRAPE专用硬件。现代GPU继续提供相对平坦的粒子数量缩放,与GRAPE相当。使用相同的时间步长准则,$N$ -体系统的总能量比GPU上的$10^6$中的能量更好地守恒,这仅比用GRAPE获得的差大约一个数量级。对于$N\apgt 10^6$,GeForce 8800 GTX的速度大约是主机的20倍。虽然仍然比GRAPE慢一个数量级,但现代GPU在低成本、长平均故障间隔时间和更大的板载内存方面优于GRAPE; GRAPE-6Af最多可容纳256 k个粒子,而GeForce 8800 GTF的内存可容纳900万个粒子。
英文摘要:
We present the results of gravitational direct $N$-body simulations using the commercial graphics processing units (GPU) NVIDIA Quadro FX1400 and GeForce 8800GTX, and compare the results with GRAPE-6Af special purpose hardware. The force evaluation of the $N$-body problem was implemented in Cg using the GPU directly to speed-up the calculations. The integration of the equations of motions were, running on the host computer, implemented in C using the 4th order predictor-corrector Hermite integrator with block time steps. We find that for a large number of particles ($N \apgt 10^4$) modern graphics processing units offer an attractive low cost alternative to GRAPE special purpose hardware. A modern GPU continues to give a relatively flat scaling with the number of particles, comparable to that of the GRAPE. Using the same time step criterion the total energy of the $N$-body system was conserved better than to one in $10^6$ on the GPU, which is only about an order of magnitude worse than obtained with GRAPE. For $N\apgt 10^6$ the GeForce 8800GTX was about 20 times faster than the host computer. Though still about an order of magnitude slower than GRAPE, modern GPU's outperform GRAPE in their low cost, long mean time between failure and the much larger onboard memory; the GRAPE-6Af holds at most 256k particles whereas the GeForce 8800GTF can hold 9 million particles in memory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。