arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.07094astro-ph.CO
收藏

ARC:基于CUDA的自适应光线跟踪算法

ARC: Adaptive Ray-tracing with CUDA, a New Ray Tracing Code for Parallel GPUs

Blake Hartley, Massimo Ricotti

摘要:

我们提出了光子守恒,空间自适应,射线跟踪辐射转移算法,设计运行在多个并行图形处理单元(GPU)的方法。每个GPU都有数千个计算核心,非常适合追踪独立光线的任务。这种射线跟踪的实现具有速度竞争力的近似动量方法,即使有数千个电离源,而不牺牲精度和分辨率。在这里,我们验证我们的实施与选择的测试中提出的“宇宙学辐射转移代码比较项目”,以证明正确的行为的代码。我们还提出了一个选择的基准来证明代码的性能和计算扩展。正如预期的那样,我们的方法与源的数量和3D计算网格的维度的平方成线性关系。我们目前的实现可扩展到任意数量的节点拥有GPU,但仅限于一个统一的分辨率3D网格。再电离的宇宙学模拟使用数万个辐射源和星系际体积,用1024个$^3$网格点采样,在64个GPU上大约需要30天才能达到完全的再电离。

英文摘要:

We present the methodology of a photon-conserving, spatially-adaptive, ray-tracing radiative transfer algorithm, designed to run on multiple parallel Graphic Processing Units (GPUs). Each GPU has thousands computing cores, making them ideally suited to the task of tracing independent rays. This ray-tracing implementation has speed competitive with approximate momentum methods, even with thousands of ionization sources, without sacrificing accuracy and resolution. Here, we validate our implementation with the selection of tests presented in the "cosmological radiative transfer codes comparison project," to demonstrate the correct behavior of the code. We also present a selection of benchmarks to demonstrate the performance and computational scaling of the code. As expected, our method scales linearly with the number of sources and with the square of the dimension of the 3D computational grid. Our current implementation is scalable to an arbitrary number of nodes possessing GPUs, but is limited to a uniform resolution 3D grid. Cosmological simulations of reionization with tens of thousands of radiation sources and intergalactic volumes sampled with 1024$^3$ grid points take about 30 days on 64 GPUs to reach complete reionization.

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

↑