FRSZ2 for In-Register Block Compression Inside GMRES on GPUs
Thomas Grützmacher, Robert Underwood, Sheng Di, Franck Cappello, Hartwig Anzt
TL;DR
This work tackles the memory bandwidth bottleneck of GMRES on GPUs by introducing FRSZ2, an in-register, block-based compressor designed to accelerate CB-GMRES without sacrificing final accuracy. FRSZ2 groups Krylov basis values into blocks, decorrelates exponent information, and encodes signs and significands into compact l-bit values, enabling decompression at memory bandwidth speeds on GPUs such as the NVIDIA H100. The authors demonstrate that FRSZ2_, particularly frsz2_32, yields the best convergence among tested schemes and can deliver end-to-end speedups up to 1.3x over uncompressed CB-GMRES and 1.2–3.1x faster than cuSZp2, approaching 99.6% of peak bandwidth. The results indicate meaningful practical impact for accelerating memory-bound Krylov solvers on modern GPUs, with future work aimed at generalization and predictive deployment to maximize benefits.
Abstract
The performance of the GMRES iterative solver on GPUs is limited by the GPU main memory bandwidth. Compressed Basis GMRES outperforms GMRES by storing the Krylov basis in low precision, thereby reducing the memory access. An open question is whether compression techniques that are more sophisticated than casting to low precision can enable large runtime savings while preserving the accuracy of the final results. This paper presents the lightweight in-register compressor FRSZ2 that can decompress at the bandwidth speed of a modern NVIDIA H100 GPU. In an experimental evaluation, we demonstrate using FRSZ2 instead of low precision for compression of the Krylov basis can bring larger runtime benefits without impacting final accuracy.
