张量代数处理原语(TAPP):迈向张量运算的标准
Tensor Algebra Processing Primitives (TAPP): Towards a Standard for Tensor Operations
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分析而来,可能存在错误,请以论文正文为准。