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

面向HPC工作负载硬件设计中差异识别的方法探索

Towards An Approach to Identify Divergences in Hardware Designs for HPC Workloads

Doru Thom Popovici, Mario Vega, Angelos Ioannou, Fabien Chaix, Dania Mosuli, Blair Reasoner, Tan Nguyen, Xiaokun Yang, John Shalf

AI总结:

本文提出一种分层分解数学内核为原语的方法,通过在不同环境中实现并自动评估频率和资源,以识别硬件设计差异并指导优化实践。

摘要:

为科学应用和机器学习中使用的数学内核开发高效硬件加速器传统上是一项劳动密集型任务。这些加速器通常需要在Verilog或其他硬件描述语言中进行低级编程,并伴随大量手动优化工作。最近,为了缓解这一挑战,诸如Chisel和高层次综合等高级硬件设计工具应运而生。然而,与任何编译器一样,某些生成的硬件可能不如专家精心设计的方案优化。理解这些低效之处源于何处至关重要,因为它能为用户和工具开发者提供宝贵的见解。在本文中,我们提出了一种方法,将数学内核(如傅里叶变换、矩阵乘法和QR分解)分层分解为一组常见的构建块或原语。然后,在不同的编程环境中实现这些原语,并组装出更大的算法。此外,我们采用自动化方法来研究可达到的频率和所需资源。在每一层进行这种实验将提供设计之间更公平的比较,并为工具开发者和硬件设计者提供采用更好实践的指导。

英文摘要:

Developing efficient hardware accelerators for mathematical kernels used in scientific applications and machine learning has traditionally been a labor-intensive task. These accelerators typically require low-level programming in Verilog or other hardware description languages, along with significant manual optimization effort. Recently, to alleviate this challenge, high-level hardware design tools like Chisel and High-Level Synthesis have emerged. However, as with any compiler, some of the generated hardware may be suboptimal compared to expert-crafted designs. Understanding where these inefficiencies arise is crucial, as it provides valuable insights for both users and tool developers. In this paper, we propose a methodology to hierarchically decompose mathematical kernels - such as Fourier transforms, matrix multiplication, and QR factorization - into a set of common building blocks or primitives. Then the primitives are implemented in the different programming environments, and the larger algorithms get assembled. Furthermore, we employ an automatic approach to investigate the achievable frequency and required resources. Performing this experimentation at each level will provide fairer comparisons between designs and offer guidance for both tool developers and hardware designers to adopt better practices.

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

↑