arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1509.07370astro-ph.IMastro-ph.GAphysics.comp-ph
收藏

FLASH4的GPU加速Barnes-Hut树码

A GPU accelerated Barnes-Hut Tree Code for FLASH4

Gunther Lukat, Robi Banerjee

摘要:

我们提出了一个GPU加速CUDA-C实现的巴恩斯小屋(BH)树代码计算重力位八叉树自适应网格。树代码算法在FLASH 4自适应网格细化(AMR)代码框架内实现,因此完全MPI并行。我们描述的算法和目前的测试结果,证明其准确性和性能相比,在当前的FLASH 4版本的算法。我们使用一个麦克劳林球体来测试我们的新实现的准确性,并使用球形的,崩溃的云核与有效的AMR进行性能测试,也与以前的重力求解器相比。根据设置和GPU/CPU比率,我们发现重力单元的加速比至少为3倍,与FLASH 4代码中实现的重力解算器相比高达60倍。我们发现一个整体的加速因子为完整的模拟至少1.6倍,高达10倍

英文摘要:

We present a GPU accelerated CUDA-C implementation of the Barnes Hut (BH) tree code for calculating the gravitational potential on octree adaptive meshes. The tree code algorithm is implemented within the FLASH4 adaptive mesh refinement (AMR) code framework and therefore fully MPI parallel. We describe the algorithm and present test results that demonstrate its accuracy and performance in comparison to the algorithms available in the current FLASH4 version. We use a MacLaurin spheroid to test the accuracy of our new implementation and use spherical, collapsing cloud cores with effective AMR to carry out performance tests also in comparison with previous gravity solvers. Depending on the setup and the GPU/CPU ratio, we find a speedup for the gravity unit of at least a factor of 3 and up to 60 in comparison to the gravity solvers implemented in the FLASH4 code. We find an overall speedup factor for full simulations of at least factor 1.6 up to a factor of 10

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑