使用线性代数感知编译器实现高效稀疏计算
Enabling Efficient Sparse Computations Using Linear Algebra Aware Compilers

原始链接: https://www.osti.gov/biblio/3013883

桑迪亚国家实验室开发了 LAPIS 编译器框架,以提高稀疏线性代数计算的效率。LAPIS 基于多层中间表示 (MLIR) 构建,优先考虑生产力、性能和跨各种硬件架构的可移植性。 一项关键创新是 Kokkos 方言,它能够将代码从高级语言翻译成特定于架构的实现,并促进与科学机器学习 (SciML) 的集成。对于分布式内存系统,新的分区方言管理稀疏张量分布并优化通信模式。 LAPIS 明显提高了 GPU 上稀疏和稠密内核的性能,这得益于线性代数级别的优化——传统编程面临的挑战。其应用包括稀疏线性代数、图内核、TenSQL 数据库和子图同构算法,展示了其多功能性和可移植性。最终,LAPIS 为解决涉及稀疏数据的复杂计算问题提供了一个强大的工具。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 使用线性代数感知编译器启用高效稀疏计算 (osti.gov) 8 分,由 matt_d 1小时前发布 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请YC | 联系 搜索:
相关文章

原文

Rajamanickam, Sivasankaran, et al. "Enabling Efficient Sparse Computations using Linear Algebra Aware Compilers." , Sep. 2025. https://doi.org/10.2172/3013883

Rajamanickam, Sivasankaran, Kelley, Brian Michael, Sadayappan, Ponnuswamy, Rountev, Atanas, Roose, Jonathan, Eydenberg, Michael Shannon, Alvey-Blanco, Addison Jordan, Vaidya, Miheer, Singh, Shreya, & Mantri, Devanshu (2025). Enabling Efficient Sparse Computations using Linear Algebra Aware Compilers. https://doi.org/10.2172/3013883

Rajamanickam, Sivasankaran, Kelley, Brian Michael, Sadayappan, Ponnuswamy, et al., "Enabling Efficient Sparse Computations using Linear Algebra Aware Compilers," (2025), https://doi.org/10.2172/3013883

@techreport{osti_3013883, author = {Rajamanickam, Sivasankaran and Kelley, Brian Michael and Sadayappan, Ponnuswamy and Rountev, Atanas and Roose, Jonathan and Eydenberg, Michael Shannon and Alvey-Blanco, Addison Jordan and Vaidya, Miheer and Singh, Shreya and Mantri, Devanshu}, title = {Enabling Efficient Sparse Computations using Linear Algebra Aware Compilers}, institution = {Sandia National Laboratories (SNL-NM), Albuquerque, NM (United States)}, annote = {This project developed the LAPIS compiler framework, built on the Multilevel Intermediate Representation (MLIR), to optimize sparse linear algebra operations and support performance portability across diverse architectures. The main innovation of LAPIS is the Kokkos dialect, which allows for lowering codes from a high productivity language to different architectures in an elegant way. The dialect also allows the conversion of lower-level MLIR code to C++ Kokkos code, facilitating the integration of scientific machine learning (SciML) models into applications. To extend LAPIS for distributed memory architectures, a new partition dialect was created to manage the distribution of sparse tensors and express communication patterns for sparse linear algebra operations. This dialect also supports the distributed execution of operators and includes algorithmic optimizations to minimize communication to improve performance. The project also demonstrates that MLIR can enable effective linear algebra-level optimizations, improving performance on different GPUs for both sparse and dense linear algebra kernels. Key applications of LAPIS include sparse linear algebra and graph kernels, TenSQL, a relational database management solution built on GraphBLAS, and the development of subgraph isomorphism and monomorphism kernels, showcasing performance portability. In summary, the LAPIS framework supports productivity, performance, portability, and distributed memory execution, while also enabling linear algebra-level optimizations that are challenging in traditional programming languages, with successful applications ranging from simple sparse linear algebra to complex graph kernels.}, doi = {10.2172/3013883}, url = {https://www.osti.gov/biblio/3013883}, place = {United States}, year = {2025}, month = {09}}

联系我们 contact @ memedata.com