arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.12258cs.DC
收藏

FPGA上SKA的谐波求和模块--优化不规则存储器访问

Harmonic-summing Module of SKA on FPGA--Optimising the Irregular Memory Accesses

Haomiao Wang, Prabu Thiagaraj, Oliver Sinnen

摘要:

平方公里阵列(SKA)将成为世界上最大的射电望远镜,它将加强和促进大量的科学项目,包括寻找射电望远镜。频域加速搜索是一种有效的二进制搜索方法。其中的一个重要部分是谐波求和模块,这也是本文的研究对象。谐波求和模块中的大多数操作对于FPGA来说都是相对便宜的操作。主要的挑战是对片外存储器的大量点访问,这些访问不是连续的,而是不规则的。虽然谐波求和本身可能不是FPGA加速的目标,但它是脉冲星搜索管道的一部分,其中包含许多其他计算密集型模块,这些模块可以在FPGA上有效执行。因此,将谐波求和也放在FPGA上将避免板外通信,这可能会破坏其他加速优势。本文研究了两种谐波求和方法:1)在片外存储器中存储中间数据和2)直接处理输入信号而不存储。对于第二种类型,提出并评估了两种缓存数据的方法:1)预加载频繁接触的点2)预加载用于生成输出点块的所有必要点。采用OpenCL来实现所提出的方法。在广泛的实验评估中,在FPGA板和GPU卡上评估相同的OpenCL内核代码。对于所提出的预加载方法,预加载所有必要的点的方法,同时重新排序的输入信号是比所有其他方法更快。虽然在原始性能方面,单个FPGA板无法与GPU竞争,但在能耗方面,GPU在执行相同NDRange内核时的能耗比FPGA高出2.6倍。

英文摘要:

The Square Kilometre Array (SKA), which will be the world's largest radio telescope, will enhance and boost a large number of science projects, including the search for pulsars. The frequency domain acceleration search is an efficient approach to search for binary pulsars. A significant part of it is the harmonic-summing module, which is the research subject of this paper. Most of the operations in the harmonic-summing module are relatively cheap operations for FPGAs. The main challenge is the large number of point accesses to off-chip memory which are not consecutive but irregular. Although harmonic-summing alone might not be targeted for FPGA acceleration, it is a part of the pulsar search pipeline that contains many other compute-intensive modules, which are efficiently executed on FPGA. Hence having the harmonic-summing also on the FPGA will avoid off-board communication, which could destroy other acceleration benefits. Two types of harmonic-summing approaches are investigated in this paper: 1) storing intermediate data in off-chip memory and 2) processing the input signals directly without storing. For the second type, two approaches of caching data are proposed and evaluated: 1) preloading points that are frequently touched 2) preloading all necessary points that are used to generate a chunk of output points. OpenCL is adopted to implement the proposed approaches. In an extensive experimental evaluation, the same OpenCL kernel codes are evaluated on FPGA boards and GPU cards. Regarding the proposed preloading methods, preloading all necessary points method while reordering the input signals is faster than all the other methods. While in raw performance a single FPGA board cannot compete with a GPU, in terms of energy dissipation, GPU costs up to 2.6x times more energy than that of FPGAs in executing the same NDRange kernels.

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

↑