targetDP:一种性能可移植的格基元抽象
targetDP: an Abstraction of Lattice Based Parallelism with Portable Performance
摘要:
为了在现代计算机上实现高性能,将算法并行性映射到硬件中固有的并行性至关重要。从应用程序开发人员的角度来看,代码可以跨一系列硬件以可移植的方式进行维护也很重要。在这里,我们提出了targetDP(目标数据并行),一个轻量级的编程层,允许抽象的数据并行的应用程序,采用结构化网格。单个源代码可用于在SIMD多核CPU或GPU加速平台上实现线程级并行(TLP)和指令级并行(ILP)。targetDP通过标准C预处理器宏和库函数实现,可以增量地添加到现有应用程序中,并且可以与更高级别的范例(如MPI)组合。我们目前的CPU和GPU的性能测试结果,从格子玻尔兹曼应用程序,激励这项工作。这些不仅展示了性能的可移植性,而且还展示了ILP智能曝光所带来的优化。
英文摘要:
To achieve high performance on modern computers, it is vital to map algorithmic parallelism to that inherent in the hardware. From an application developer's perspective, it is also important that code can be maintained in a portable manner across a range of hardware. Here we present targetDP (target Data Parallel), a lightweight programming layer that allows the abstraction of data parallelism for applications that employ structured grids. A single source code may be used to target both thread level parallelism (TLP) and instruction level parallelism (ILP) on either SIMD multi-core CPUs or GPU-accelerated platforms. targetDP is implemented via standard C preprocessor macros and library functions, can be added to existing applications incrementally, and can be combined with higher-level paradigms such as MPI. We present CPU and GPU performance results for a benchmark taken from the lattice Boltzmann application that motivated this work. These demonstrate not only performance portability, but also the optimisation resulting from the intelligent exposure of ILP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。