arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.01177cs.ARcs.DCcs.PF
收藏

基于结构网格的显式数值求解器的高级FPGA加速器设计

High-Level FPGA Accelerator Design for Structured-Mesh-Based Explicit Numerical Solvers

Kamalavasan Kamalakkannan, Gihan R. Mudalige, Istvan Z. Reguly, Suhaib A. Fahmy

摘要:

本文提出了一种工作流程,用于合成接近最佳的FPGA实现的结构网格为基础的模板应用显式求解器。它利用应用程序类的关键特性、计算通信模式和FPGA的架构功能,加速高性能计算领域的求解器。该工作流程的主要新功能包括:(1)将标准的最先进技术与大量高增益优化(如优化和空间分块/平铺)相结合,以提高实际工作负载的吞吐量;(2)开发和使用预测分析模型,以探索设计空间、资源估计和性能。在Xilinx Alveo U280 FPGA上使用设计工作流程实现了三个代表性应用,表现出接近最佳的性能和超过85%的预测模型准确度。将这些应用程序与现代HPC级GPU(Nvidia V100)上相同应用程序的同等高度优化实现进行比较,分析解决方案的时间、带宽和能耗。性能结果表明,FPGA实现的运行时性能与V100 GPU相当,与基于GPU的最佳性能解决方案相比,FPGA上合成的最大非平凡应用程序的能耗节省超过2倍。我们的调查显示,在获得高性能的当前一代FPGA相比,传统架构的相当大的挑战。我们讨论了一个给定的模板代码的决定因素是服从FPGA实现,提供洞察的可行性和盈利能力的设计和由此产生的性能。

英文摘要:

This paper presents a workflow for synthesizing near-optimal FPGA implementations for structured-mesh based stencil applications for explicit solvers. It leverages key characteristics of the application class, its computation-communication pattern, and the architectural capabilities of the FPGA to accelerate solvers from the high-performance computing domain. Key new features of the workflow are (1) the unification of standard state-of-the-art techniques with a number of high-gain optimizations such as batching and spatial blocking/tiling, motivated by increasing throughput for real-world work loads and (2) the development and use of a predictive analytic model for exploring the design space, resource estimates and performance. Three representative applications are implemented using the design workflow on a Xilinx Alveo U280 FPGA, demonstrating near-optimal performance and over 85% predictive model accuracy. These are compared with equivalent highly-optimized implementations of the same applications on modern HPC-grade GPUs (Nvidia V100) analyzing time to solution, bandwidth and energy consumption. Performance results indicate equivalent runtime performance of the FPGA implementations to the V100 GPU, with over 2x energy savings, for the largest non-trivial application synthesized on the FPGA compared to the best performing GPU-based solution. Our investigation shows the considerable challenges in gaining high performance on current generation FPGAs compared to traditional architectures. We discuss determinants for a given stencil code to be amenable to FPGA implementation, providing insights into the feasibility and profitability of a design and its resulting performance.

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

↑