arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.08288cs.DCcs.PL
收藏

面向高性能计算的高级综合码变换

Transformations of High-Level Synthesis Codes for High-Performance Computing

Johannes de Fine Licht, Maciej Besta, Simon Meierhans, Torsten Hoefler

摘要:

空间计算体系结构承诺在性能和能源效率方面的重大进展,目前在大规模计算系统中采用的传统的加载/存储设备。采用C++和OpenCL等语言的高级综合(HLS)大大提高了程序员在设计此类平台时的生产力。虽然这使得更广泛的受众能够针对空间计算架构,但由于硬件设计的根本不同方面,例如深度管道,分布式内存资源和可扩展路由的编程,传统软件设计中已知的优化原则不再足以实现高性能代码。为了缓解这一问题,我们提出了一系列优化转换HLS,针对高性能计算(HPC)应用程序的可扩展和高效的架构。我们系统地识别转换的类别(流水线,可扩展性和内存),它们对HLS代码和最终硬件的影响的特征(例如,增加数据重用或资源消耗),以及每个转换可以针对的目标(例如,解决接口争用或增加并行性)。我们将展示如何使用这些可以有效地利用流水线,片上分布式快速存储器,片上可编程逻辑,允许大规模并行架构。为了量化各种转换的效果,我们涵盖了HPC内核的样本集的优化过程,作为开源参考代码提供。我们的目标是建立一个通用的工具箱,以指导性能工程师和编译器工程师利用HLS空间计算架构提供的性能潜力。

英文摘要:

Spatial computing architectures promise a major stride in performance and energy efficiency over the traditional load/store devices currently employed in large scale computing systems. The adoption of high-level synthesis (HLS) from languages such as C++ and OpenCL has greatly increased programmer productivity when designing for such platforms. While this has enabled a wider audience to target spatial computing architectures, the optimization principles known from traditional software design are no longer sufficient to implement high-performance codes, due to fundamentally distinct aspects of hardware design, such as programming for deep pipelines, distributed memory resources, and scalable routing. To alleviate this, we present a collection of optimizing transformations for HLS, targeting scalable and efficient architectures for high-performance computing (HPC) applications. We systematically identify classes of transformations (pipelining, scalability, and memory), the characteristics of their effect on the HLS code and the resulting hardware (e.g., increasing data reuse or resource consumption), and the objectives that each transformation can target (e.g., resolve interface contention, or increase parallelism). We show how these can be used to efficiently exploit pipelining, on-chip distributed fast memory, and on-chip dataflow, allowing for massively parallel architectures. To quantify the effect of various transformations, we cover the optimization process of a sample set of HPC kernels, provided as open source reference codes. We aim to establish a common toolbox to guide both performance engineers and compiler engineers in tapping into the performance potential offered by spatial computing architectures using HLS.

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

↑