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

Bandicoot:用于 GPU 线性代数与科学计算的 C++ 库

Bandicoot: C++ Library for GPU Linear Algebra and Scientific Computing

Ryan R. Curtin, Marcus Edel, Conrad Sanderson

AI总结:

本文介绍 Bandicoot C++ 库,它作为 Armadillo 的 GPU 加速对应版本,通过模板元编程实现编译期优化,使用户无需大幅修改现有代码即可利用 GPU 加速线性代数与科学计算。

摘要:

本报告介绍了用于 GPU 上线性代数和科学计算的 Bandicoot C++ 库,概述了其用户界面和性能特征,以及其内部设计的技术细节。Bandicoot 是著名的 Armadillo C++ 线性代数库的 GPU 加速对应版本,旨在让用户无需对现有代码库进行重大修改即可利用 GPU 加速计算。Bandicoot 采用了与 Armadillo 相同的内部模板元编程技术,能够对用户代码中的数学表达式进行编译期优化。该库已可投入生产使用,可在 https://coot.sourceforge.io 获取。Bandicoot 依据 Apache 2.0 许可证分发。

英文摘要:

This report provides an introduction to the Bandicoot C++ library for linear algebra and scientific computing on GPUs, overviewing its user interface and performance characteristics, as well as the technical details of its internal design. Bandicoot is the GPU-enabled counterpart to the well-known Armadillo C++ linear algebra library, aiming to allow users to take advantage of GPU-accelerated computation for their existing codebases without significant changes. Adapting the same internal template meta-programming techniques that Armadillo uses, Bandicoot is able to provide compile-time optimisation of mathematical expressions within user code. The library is ready for production use and is available at https://coot.sourceforge.io. Bandicoot is distributed under the Apache 2.0 License.

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

↑