探索使用FPGA加速气象局NERC云模型
Exploring the acceleration of the Met Office NERC Cloud model using FPGAs
摘要:
使用现场可编程门阵列(FPGA)来加速计算内核,有可能对科学代码和HPC社区产生巨大的好处。随着FPGA编程技术的最新发展,移植内核的能力变得越来越容易。然而,要从这项技术中获得合理的性能,仅仅将代码转移到FPGA上是不够的,相反,必须重新考虑算法并以数据流的方式重新设计,以适应目标架构。在本文中,我们描述了移植,通过HLS,计算最密集的内核之一的气象局NERC云模型(MONC),气候和天气研究人员使用的大气模型,到FPGA上。我们详细描述了所采取的步骤,以适应算法,使其适合的架构和这对内核性能的影响。使用PCIe安装的FPGA与板载DRAM,我们考虑在一个更大的基础设施中集成此内核,并探索我们的方法的性能特征,与现代HPC机器中流行的英特尔CPU相比,在涉及非常大的网格的问题大小。这项工作的结果是一份经验报告,详细介绍了将这种复杂的计算内核移植到FPGA时所面临的挑战和吸取的经验教训,并探讨了FPGA在加速传统HPC工作负载方面可以发挥的作用及其基本限制。
英文摘要:
The use of Field Programmable Gate Arrays (FPGAs) to accelerate computational kernels has the potential to be of great benefit to scientific codes and the HPC community in general. With the recent developments in FPGA programming technology, the ability to port kernels is becoming far more accessible. However, to gain reasonable performance from this technology it is not enough to simple transfer a code onto the FPGA, instead the algorithm must be rethought and recast in a data-flow style to suit the target architecture. In this paper we describe the porting, via HLS, of one of the most computationally intensive kernels of the Met Office NERC Cloud model (MONC), an atmospheric model used by climate and weather researchers, onto an FPGA. We describe in detail the steps taken to adapt the algorithm to make it suitable for the architecture and the impact this has on kernel performance. Using a PCIe mounted FPGA with on-board DRAM, we consider the integration on this kernel within a larger infrastructure and explore the performance characteristics of our approach in contrast to Intel CPUs that are popular in modern HPC machines, over problem sizes involving very large grids. The result of this work is an experience report detailing the challenges faced and lessons learnt in porting this complex computational kernel to FPGAs, as well as exploring the role that FPGAs can play and their fundamental limits in accelerating traditional HPC workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。