Caspar: CUDA Accelerator for Symbolic Programming with Adaptive Reordering

Caspar:用于具有自适应重新排序的符号编程的 CUDA 加速器

Emil Martens、Aaron Miller、Matias Varnum、Annette Stahl · arXiv:2605.30583 · 2026-05-28 · cs.RO

论文自动收录 · 未精读PDF ↗arXiv 原文 ↗
壹摘要

我们推出 Caspar,这是一个库,它使现代 GPU 的强大功能在机器人技术中更容易发挥,并提供最先进的非线性 GPU 求解器,可应用于各种不同的优化问题。 Caspar 通过从符号表达式自动生成优化的 CUDA 内核,弥补了 Python 中的表达符号编程与 C++ 中的高性能 GPU 运行时之间的差距。在 SymForce 库的基础上,用户可以轻松定义和组合符号表达式(包括李群运算)来生成自定义 CUDA 内核。使用Caspar作为求解器,用户只需要定义符号残差函数;

中文为机器翻译节选,以英文原文为准。

English abstract

We present Caspar, a library that makes the power of modern GPUs more accessible in robotics and provides a state-of-the-art nonlinear GPU solver that can be applied to a wide range of different optimization problems. Caspar bridges the gap between expressive symbolic programming in Python and high-performance GPU runtimes in C++ by automatically generating optimized CUDA kernels from symbolic expressions. Building on the SymForce library, users can easily define and combine symbolic expressions, including Lie group operations, to generate custom CUDA kernels. To use Caspar as a solver, users need only define the symbolic residual functions; Caspar then uses symbolic differentiation to generate the necessary GPU kernels and interfaces to perform nonlinear optimization. In this paper, we present the core components of Caspar and showcase its performance by performing bundle adjustment on…

贰引用
Emil Martens、Aaron Miller、Matias Varnum 等 4 人. Caspar: CUDA Accelerator for Symbolic Programming with Adaptive Reordering. arXiv:2605.30583 (2026-05-28). https://arxiv.org/abs/2605.30583v1
叁同分类新篇