arXiv:2610.21096cs.AROct 2026

Manuscript Offprint

arXiv:2610.21096

Helix: A Unified Programmable Accelerator for Diverse Krylov Subspace Solvers

Wei Chen, Yizhi Yuan, Linghao Song

Wei Chen

Yale University

wei.chen.wc659@yale.edu

Yizhi Yuan

Yale University

yizhi.yuan@yale.edu

Linghao Song

Yale University

linghao.song@yale.edu

Abstract—Domain-specific accelerators deliver high performance and energy efficiency through specialization but often lack support for extensible algorithm families. Existing FPGA accelerators for Krylov subspace methods, which iteratively solve sparse linear systems, typically support a single solver or require separate hardware configurations. Helix follows a systematic algorithm-family design methodology that first abstracts common computational primitives from diverse Krylov solvers and builds the architecture around efficient, programmable primitive kernels. Helix then introduces programmable datapaths to coordinate these primitives. Its architecture decouples hardware implementation from solver-specific execution, enabling HBM reuse and zero solver-switching latency. Finally, Helix provides a DSL compiler that efficiently maps different solvers onto the architecture while optimizing vector-operation performance for each solver. We prototype Helix on a Xilinx Alveo U55C FPGA and evaluate Helix's practicality and performance by using it to compile and execute eight solvers. Helix achieves up to 7.91×7.91\times and 1.16×1.16\times speedups over Xilinx XcgSolver and the state-of-the-art FPGA accelerator Callipepla, respectively, both of which support only JPCG. Across the eight solvers, Helix sustains 47.5%–96.9% of the throughput of an NVIDIA RTX PRO 6000 GPU while delivering 2.29×2.29\times −4.66×-4.66\times higher energy efficiency and 1.89×1.89\times −3.85×-3.85\times higher throughput per unit peak memory bandwidth. The programmable components incur 0.25%–0.57% execution-time overhead and 4.7% LUT and 4.0% FF overhead, demonstrating negligible overhead for programmability.

I. INTRODUCTION

Domain-specific accelerators have transformed modern computing by delivering remarkable performance and energy efficiency through aggressive hardware specialization [1]–[4]. However, modern scientific and AI software is evolving toward increasingly rich algorithm ecosystems rather than isolated algorithms. Software readily accommodates this evolution through extensible libraries, allowing new algorithms and variants to be integrated rapidly and selected at runtime. Hardware, in contrast, evolves on a much slower timescale, where supporting a new algorithm often entails redesigning architectures, recompiling toolchains, and redeploying hardware. This growing mismatch raises a fundamental challenge for future accelerator design: accelerators should evolve from accelerating individual algorithms to efficiently supporting entire algorithm families.

Krylov subspace methods are a family of iterative algorithms for solving large sparse linear systems [5] which dominate in a wide range of applications like scientific AI and scientific computing [6]–[10]. However, efficiently executing these methods remains challenging for CPUs and GPUs. Although TPUs [11] and reconfigurable architectures [12] offer acceleration for sparse operations, translating kernel-level performance into efficient end-to-end solver execution remains difficult [13], [14]. This gap motivates solver-specific accelerators. Practical systems utilize different Krylov solvers for different matrix structures [15]–[17], motivating a programmable accelerator for the Krylov solver family.

Among existing platforms, FPGAs provide a highly customizable hardware substrate to be tailored to the characteristics of different algorithm families. Modern FPGA platforms further integrate high-bandwidth memory (HBM), making them particularly attractive for sparse linear algebra workloads whose performance is often limited by irregular memory accesses. There are also ASIC-based reconfigurable architectures for sparse applications [12], [18], [19]. However, ASIC designs are expensive, require lengthy fabrication, and often rely on simulation for near-term evaluation, whereas FPGAs are economical, offer shorter development cycles, and allow direct evaluation on real hardware.

Existing FPGA accelerators for Krylov methods continue to follow a solver-specific design philosophy, either specializing in one solver or switching between solver-specific implementations. For example, Xilinx's CGSolver [20] and the state-of-the-art JPCG accelerator Callipepla [13] support only the CG family, while Acamar [14] supports multiple Krylov solvers by instantiating solver-specific architectures and switching bitstreams between them. They tightly couple hardware architectures to individual solver implementations. As a result, supporting a new solver requires redesigning the hardware architecture or deploying a different hardware configuration. Furthermore, they allocate one or more physical HBM channels to one operand throughout execution, underutilizing memory bandwidth when some operands are inactive.

Therefore, it is challenging to provide both high performance and easy-to-use programmability for an algorithm family accelerator. To handle this, we propose a design methodology for algorithm family accelerators, which includes three key steps: Step 1: abstract common primitives to decouple architecture from specific algorithms, separate hardware specialization from algorithm-specific execution by abstracting common primitives, design efficient primitive kernels, and provide programmability at the level of primitives; Step 2: coordinate primitives efficiently, coordinate primitives to preserve performance for each solver through a customized and programmable datapath between different primitives; Step 3: map algorithms to architecture efficiently, map solvers to the architecture automatically with performance optimization techniques so that each solver fully and efficiently utilizes the architecture and users can use it conveniently.

Based on these steps, we present Helix, a unified programmable accelerator for diverse Krylov solvers. In step 1, we seek a common abstraction across diverse Krylov solvers and find they share a common set of primitives, including SpMV, vector operations, scalar operations, and control. Helix builds efficient and programmable kernels for these computational primitives. In step 2, Helix builds programmable datapaths between SpMV and vector-processing kernels, as well as among vector-processing kernels. In step 3, we develop a custom compilation pipeline tailored to Krylov solvers that searches for an optimal mapping based on each solver's data dependencies. Helix includes a unified architecture and efficient algorithm-to-architecture mapping compilation pipeline. The contributions of this work are as follows:

• We present Helix, a unified programmable accelerator architecture for diverse Krylov solvers. Helix abstracts Krylov methods into common primitives, implements efficient programmable kernels, and provides a programmable datapath for flexible reuse of intermediate data. Compared with previous FPGA accelerators, Helix enables HBM reuse across vectors from different stages, with zero solver-switching latency.

• We develop a Krylov-solver domain compiler that maps diverse solvers onto the unified architecture. The compiler translates Krylov solver descriptions written in Helix’s C-like domain-specific language into executable instructions, and explores an optimized schedule with minimal stages, simplifying solver programming for users and providing high performance for each solver.

• In addition to HBM reuse, Helix also balances stage-based operation fusion with data parallelism, further improving memory bandwidth utilization. We search for an optimized Helix architecture based on quantitative evaluation: we combine an analytical performance model and the compiler to estimate the performance of each solver under different configurations.

• We conduct extensive evaluation on a Xilinx Alveo U55C FPGA and demonstrate that Helix achieves up to 7.91×7.91\times and 1.16×1.16\times speedups over Xilinx XcgSolver and the state-of-the-art FPGA accelerator Callipepla, respectively, both of which support JPCG only. We evaluate Helix's portability and performance by compiling and running eight different Krylov solvers. It sustains 47.5 –96.9% of the throughput of an NVIDIA RTX PRO 6000 GPU while delivering 2.29–4.66× higher energy efficiency and 1.89 –3.85× higher throughput per unit peak memory bandwidth. The programmable architecture incurs only 0.25 –0.57% execution-time overhead and 4.7% LUT and 4.0% FF overhead with negligible other resources.

References (88)