paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Vectorization for digital signal processors via equality saturation

通过等价饱和为数字信号处理器实现向量化
ASPLOS Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2021匹配度 2/10 · 该论文属于编译器优化与程序生成方向,核心是等价饱和和符号求值用于 DSP 向量化,与用户重点关注的 PL↔AI、浮点程序分析、贝叶斯程序分析及其与 LLM 的交叉均无直接关系。虽涉及静态分析与形式化优化思想,但未面向机器学习系统、Agentic 程序或 LLM 辅助验证。引用 56 inbox
Alexa VanHattum, Rachit Nigam, Vincent T. Lee, James Bornholt, Adrian Sampson
crossref: 2026-09-12

AI 速览

一句话:提出 Diospyros,用符号求值与等价饱和为 DSP 小型线性代数内核自动搜索高效向量化与数据布局。

面向数字信号处理器(DSP)的应用常依赖小型线性代数内核的高效实现。现有时量编译器虽能从大型内核中提取性能,却难以自动发明小型内核优化所需的复杂数据搬移,DSP 工程师往往只能手工编写与调优。本文提出 Diospyros,一种基于搜索的编译器:它结合符号求值与等价饱和,在结构不规则的计算上自动搜索向量化方案与数据布局。评估表明,Diospyros 编译得到的内核平均比现有 DSP 库实现快 3.1 倍,能够与专家手工调优代码相竞争,并可为完整 DSP 应用带来端到端加速。

问题
现有时量编译器难以对小型线性代数内核自动发现所需的数据搬移,导致 DSP 工程师必须手工编写和调优专用内核。
方法
Diospyros 将符号求值与等价饱和结合,在程序表达式空间中进行搜索,自动发现向量化变换与数据布局。
评估
将 Diospyros 编译的内核与现有 DSP 库及专家手工调优实现比较,并测量其对完整 DSP 应用的端到端加速。
原文摘要(Abstract)

Applications targeting digital signal processors (DSPs) benefit from fast implementations of small linear algebra kernels. While existing auto-vectorizing compilers are effective at extracting performance from large kernels, they struggle to invent the complex data movements necessary to optimize small kernels. To get the best performance, DSP engineers must hand-write and tune specialized small kernels for a wide spectrum of applications and architectures. We present Diospyros, a search-based compiler that automatically finds efficient vectorizations and data layouts for small linear algebra kernels. Diospyros combines symbolic evaluation and equality saturation to vectorize computations with irregular structure. We show that a collection of Diospyros-compiled kernels outperform implementations from existing DSP libraries by 3.1× on average, that Diospyros can generate kernels that are competitive with expert-tuned code, and that optimizing these small kernels offers end-to-end speedup for a DSP application.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6097,
  title = {Vectorization for digital signal processors via equality saturation},
  author = {Alexa VanHattum and Rachit Nigam and Vincent T. Lee and James Bornholt and Adrian Sampson},
  booktitle = {ASPLOS},
  year = {2021},
  doi = {10.1145/3445814.3446707}
}