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

张量代数处理原语(TAPP):迈向张量运算的标准

Tensor Algebra Processing Primitives (TAPP): Towards a Standard for Tensor Operations

Laboratoire de Chimie et Physique Quantique, UMR 5626 CNRS — Université de Toulouse(量子化学与物理实验室,CNRS联合研究单位5626,图卢兹大学);Department of Computing Science, Umeå University(于默奥大学计算机系);Department of Chemistry, Virginia Tech(弗吉尼亚理工大学化学系);Intel Advanced Technologies Group, Intel Corporation(英特尔公司高级技术组);NVIDIA(英伟达);Department of Chemistry, Southern Methodist University(南方卫理公会大学化学系)

Jan Brandejs, Niklas Hörnblad, Edward F. Valeev, Alexander Heinecke, Jeff Hammond, Devin Matthews, Paolo Bientinesi

AI总结:

TAPP通过提供统一的张量运算接口,旨在提升性能可移植性并解决依赖性问题。

摘要:

为了解决缺乏统一的张量运算标准接口的问题,我们引入了张量代数处理原语(TAPP),这是一种基于C的接口,旨在将应用层与硬件特定实现解耦。我们提供了张量收缩的数学公式,并提供了一个参考实现,以确保正确性并促进优化内核的验证。通过学术界和工业界利益相关者的共识开发,TAPP旨在实现性能可移植性并解决依赖性挑战。通过成功集成TBLIS和cuTENSOR库以及DIRAC量子化学软件包,证明了该标准的可行性。

英文摘要:

To address the absence of a universal standard interface for tensor operations, we introduce the Tensor Algebra Processing Primitives (TAPP), a C-based interface designed to decouple the application layer from hardware-specific implementations. We provide a mathematical formulation of tensor contractions and a reference implementation to ensure correctness and facilitate the validation of optimized kernels. Developed through community consensus involving academic and industrial stakeholders, TAPP aims to enable performance portability and resolving dependency challenges. The viability of the standard is demonstrated through successful integrations with the TBLIS and cuTENSOR libraries, as well as the DIRAC quantum chemistry package.

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

↑