PowerGear:通过异构边中心GNN在FPGA HLS中进行早期功率估计
PowerGear: Early-Stage Power Estimation in FPGA HLS via Heterogeneous Edge-Centric GNNs
摘要:
功耗估计是许多硬件优化策略的基础。然而,它仍然是具有挑战性的,以提供准确的功率估计在早期阶段,如高级综合(HLS)。在本文中,我们提出了PowerGear,一个图形学习辅助的FPGA HLS功率估计方法,具有高精度,高效率和可移植性。PowerGear包括两个主要组件:图构造流程和定制的图神经网络(GNN)模型。具体来说,在图形构造流程中,我们引入缓冲区插入,数据路径合并,图形修剪和功能注释技术,将HLS设计转换为图形结构的数据,其中编码操作内的微架构和操作间的互连与切换活动注释。此外,我们提出了一种新的功率感知异构边为中心的GNN模型,有效地学习异构边语义和结构属性的构造图通过边为中心的邻域聚合,并符合制定的动态功率。与机载测量相比,PowerGear估计新HLS设计的总功率和动态功率的误差分别为3.60%和8.81%,优于现有技术的研究和商业产品Vivado。此外,PowerGear还展示了比Vivado功率估计器快4倍的速度。最后,我们提出了一个案例研究中,PowerGear被利用,以促进FPGA HLS的设计空间探索,导致高达11.2%的性能增益,与使用最先进的预测模型的方法相比。
英文摘要:
Power estimation is the basis of many hardware optimization strategies. However, it is still challenging to offer accurate power estimation at an early stage such as high-level synthesis (HLS). In this paper, we propose PowerGear, a graph-learning-assisted power estimation approach for FPGA HLS, which features high accuracy, efficiency and transferability. PowerGear comprises two main components: a graph construction flow and a customized graph neural network (GNN) model. Specifically, in the graph construction flow, we introduce buffer insertion, datapath merging, graph trimming and feature annotation techniques to transform HLS designs into graph-structured data, which encode both intra-operation micro-architectures and inter-operation interconnects annotated with switching activities. Furthermore, we propose a novel power-aware heterogeneous edge-centric GNN model which effectively learns heterogeneous edge semantics and structural properties of the constructed graphs via edge-centric neighborhood aggregation, and fits the formulation of dynamic power. Compared with on-board measurement, PowerGear estimates total and dynamic power for new HLS designs with errors of 3.60% and 8.81%, respectively, which outperforms the prior arts in research and the commercial product Vivado. In addition, PowerGear demonstrates a speedup of 4x over Vivado power estimator. Finally, we present a case study in which PowerGear is exploited to facilitate design space exploration for FPGA HLS, leading to a performance gain of up to 11.2%, compared with methods using state-of-the-art predictive models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。