arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1010.3816gr-qccs.DCphysics.comp-ph
收藏

OpenCL在数值相对论中的应用

An Exploration of OpenCL for a Numerical Relativity Application

Niket K. Choudhary, Rakesh Ginjupalli, Sandeep Navada, Gaurav Khanna

摘要:

目前,人们对使用众核处理器架构(如Nvidia和AMD图形处理单元(GPU))进行科学计算有相当大的兴趣。在这项工作中,我们探讨使用开放计算语言(OpenCL)的一个典型的数值相对论应用:时域Teukolsky方程求解器(线性,双曲,偏微分方程求解器使用有限差分)。OpenCL是唯一一个与供应商无关的多平台并行计算框架,已被所有主要处理器供应商采用。因此,它允许我们编写可移植的源代码,并在各种计算硬件上运行它,并执行有意义的比较。我们的实验结果表明,通过使用多核GPU而不是多核CPU,可以相对简单地获得整体应用程序性能的数量级增益,这一事实在很大程度上与特定的硬件架构和供应商无关。我们还观察到,一个高端GPU可以匹配一个小型的,基于消息传递的CPU集群的性能。

英文摘要:

Currently there is considerable interest in making use of many-core processor architectures, such as Nvidia and AMD graphics processing units (GPUs) for scientific computing. In this work we explore the use of the Open Computing Language (OpenCL) for a typical Numerical Relativity application: a time-domain Teukolsky equation solver (a linear, hyperbolic, partial differential equation solver using finite-differencing). OpenCL is the only vendor-agnostic and multi-platform parallel computing framework that has been adopted by all major processor vendors. Therefore, it allows us to write portable source-code and run it on a wide variety of compute hardware and perform meaningful comparisons. The outcome of our experimentation suggests that it is relatively straightforward to obtain order-of-magnitude gains in overall application performance by making use of many-core GPUs over multi-core CPUs and this fact is largely independent of the specific hardware architecture and vendor. We also observe that a single high-end GPU can match the performance of a small-sized, message-passing based CPU cluster.

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

↑