计算机科学 > 软件工程
[提交于 2025年4月25日]
标题:Efficiency, Expressivity, and Extensibility in a Close-to-Metal NPU Programming Interface
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Accelerators such as neural processing units (NPUs) deliver an enticing balance of performance and efficiency compared to general purpose compute architectures. However, effectively leveraging accelerator capabilities is not always simple: low-level programming toolkits may require substantial developer effort while high-level programming toolkits may abstract critical optimization features. This work aims to increase efficiency of designers using IRON, a toolkit for close-to-metal NPU performance engineers. We provide an updated programmer interface to IRON containing new and refined programming constructs. The new interface includes extensible features for placement and data transformation. These contributions are evaluated in terms of 1) efficiency, with analysis showing ~26% average reduction in lines of code and decreases in Halstead metrics for a variety of designs; 2) expressivity, demonstrating the new interface supports the wide range of features and patterns already supported by IRON; and 3) extensibility, illustrating the new tooling for placement and tiling can be extended to accommodate common use-cases.
提交历史
来自:Erika Hunhoff[v1] 2025年4月25日 星期五 15:43:50 UTC