arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.13259cs.MS
收藏

稀疏线性代数运算接口

Interface for Sparse Linear Algebra Operations

Ahmad Abdelfattah, Willow Ahrens, Hartwig Anzt, Chris Armstrong, Ben Brock, Aydin Buluc, Federico Busato, Terry Cojean, Tim Davis, Jim Demmel, Grace Dinh, David… 展开作者

Ahmad Abdelfattah, Willow Ahrens, Hartwig Anzt, Chris Armstrong, Ben Brock, Aydin Buluc, Federico Busato, Terry Cojean, Tim Davis, Jim Demmel, Grace Dinh, David Gardener, Jan Fiala, Mark Gates, Azzam Haider, Toshiyuki Imamura, Pedro Valero Lara, Jose Moreira, Sherry Li, Piotr Luszczek, Max Melichenko, Jose Moeira, Yvan Mokwinski, Riley Murray, Spencer Patty, Slaven Peles, Tobias Ribizel, Jason Riedy, Siva Rajamanickam, Piyush Sao, Manu Shantharam, Keita Teranishi, Stan Tomov, Yu-Hsiang Tsai, Heiko Weichelt

AI总结:

本文提出一个硬件可移植的稀疏线性代数C++ API,通过跨机构协作设计,在兼容现有各供应商接口的同时改善互操作性与可持续性,并保留实现自由度。

摘要:

BLAS标准中稠密线性代数运算接口的标准化,使得不同线性代数库之间能够实现互操作性,从而推动了科学计算的成功,尤其是在科学高性能计算(HPC)领域。尽管过去进行了大量努力,但由于诸多原因,社区尚未就稀疏线性代数运算的标准化达成一致。原因之一是稀疏线性代数对象允许使用许多不同的存储格式,而不同的硬件可能偏好不同的存储格式。这使得定义一种FORTRAN风格、面面俱到的接口极具挑战性。另一个原因是,与稠密线性代数功能不同,在稀疏线性代数中,运算结果所需的稀疏数据结构的大小并非总是在计算之前已知。此外,与稠密线性代数的标准化工作相比,我们在技术成熟度周期中起步较晚,许多使用稀疏线性代数例程的生产就绪软件库已经实现并固守其自身的稀疏BLAS接口。与此同时,业界确实存在对标准化的需求,以改善互操作性、可持续性,并便于构建模块的集成。在一次由众多学术机构、美国国家实验室和工业界共同参与的包容性跨机构努力中,我们花费两年时间设计了一种硬件可移植的基础稀疏线性代数功能接口,该接口既满足用户需求,又与不同供应商当前使用的不同接口兼容。在本文中,我们提出了一个用于稀疏线性代数功能的C++ API,讨论了设计选择,并详细说明了软件开发者如何在实现该API背后的功能时保留大量自由度。

英文摘要:

The standardization of an interface for dense linear algebra operations in the BLAS standard has enabled interoperability between different linear algebra libraries, thereby boosting the success of scientific computing, in particular in scientific HPC. Despite numerous efforts in the past, the community has not yet agreed on a standardization for sparse linear algebra operations due to numerous reasons. One is the fact that sparse linear algebra objects allow for many different storage formats, and different hardware may favor different storage formats. This makes the definition of a FORTRAN-style all-circumventing interface extremely challenging. Another reason is that opposed to dense linear algebra functionality, in sparse linear algebra, the size of the sparse data structure for the operation result is not always known prior to the information. Furthermore, as opposed to the standardization effort for dense linear algebra, we are late in the technology readiness cycle, and many production-ready software libraries using sparse linear algebra routines have implemented and committed to their own sparse BLAS interface. At the same time, there exists a demand for standardization that would improve interoperability, and sustainability, and allow for easier integration of building blocks. In an inclusive, cross-institutional effort involving numerous academic institutions, US National Labs, and industry, we spent two years designing a hardware-portable interface for basic sparse linear algebra functionality that serves the user needs and is compatible with the different interfaces currently used by different vendors. In this paper, we present a C++ API for sparse linear algebra functionality, discuss the design choices, and detail how software developers preserve a lot of freedom in terms of how to implement functionality behind this API.

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

↑