孤立黑洞的GPU加速模拟
GPU-Accelerated Simulations of Isolated Black Holes
摘要:
我们提出了一个端口的数值相对论代码SpEC,这是能够在NVIDIA GPU上运行。由于此代码必须与SpEC本身并行维护,因此主要设计考虑因素是尽可能少地执行显式代码更改。因此,我们依赖于自动化移植策略的层次结构。在最高级别,我们使用TLoops,我们设计的C++库,自动发出CUDA代码等效于使用类似于解析计算的语法写入C++源的张量表达式。接下来,我们跟踪并缓存SpEC代码中众多线性变换的显式矩阵表示,这允许使用预先存在的矩阵乘法库在GPU上执行这些变换。我们手工移植剩下的几个重要模块。在本文中,我们详细介绍了我们的端口的细节,并提出了它模拟孤立的黑洞时空的几代NVIDIA GPU的基准。
英文摘要:
We present a port of the numerical relativity code SpEC which is capable of running on NVIDIA GPUs. Since this code must be maintained in parallel with SpEC itself, a primary design consideration is to perform as few explicit code changes as possible. We therefore rely on a hierarchy of automated porting strategies. At the highest level we use TLoops, a C++ library of our design, to automatically emit CUDA code equivalent to tensorial expressions written into C++ source using a syntax similar to analytic calculation. Next, we trace out and cache explicit matrix representations of the numerous linear transformations in the SpEC code, which allows these to be performed on the GPU using pre-existing matrix-multiplication libraries. We port the few remaining important modules by hand. In this paper we detail the specifics of our port, and present benchmarks of it simulating isolated black hole spacetimes on several generations of NVIDIA GPU.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。