arXiv:2610.37710cs.AROct 2026

Manuscript Offprint

arXiv:2610.37710

zkDuel: Characterizing SumCheck Prover Kernels across GPU Programming Models

Samarth Narang, Alhad Daftardar, Brandon Reagen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Samarth Narang

Tandon School of Engineering

New York University

Brooklyn, NY, USA

sn2910@nyu.edu

Alhad Daftardar

Tandon School of Engineering

New York University

Brooklyn, NY, USA

ajd9396@nyu.edu

Brandon Reagen

Tandon School of Engineering

New York University

Brooklyn, NY, USA

bjr5@nyu.edu

Abstract

Zero-knowledge proofs have attracted growing interest from the hardware acceleration community, driven by their use in verifiable computation, privacy-preserving systems, and blockchain applications. A key prover kernel in many such systems is SumCheck, whose table-parallel structure makes it a natural target for GPU acceleration. Practical SumCheck kernels over cryptographic fields, however, are shaped not by bandwidth but by multi-limb arithmetic, Montgomery reduction, expression specialization, reduction structure, and launch overhead.

We present zkDUEL, an open-source benchmark that isolates SumCheck as a standalone GPU kernel through matched Triton and CUDA implementations. zkDUEL pairs diagnostic microbenchmark polynomials for controlled analysis with zkPHIRE-derived constraints for prover-style stress testing, sweeps 32/64/128/256-bit prime fields, and validates both backends against a CPU reference before any performance measurement.

Across 800 attempted configurations on an NVIDIA H100, 758 complete with matching Triton and CUDA checksums, and both backends reproduce the CPU reference on every reported workload and field width. On these configurations, we find that the cost of programming-model abstraction reduces with arithmetic width. CUDA holds a 3.5×3.5\times median advantage over Triton at 32 bits but only 1.4×1.4\times at 256 bits, where 30 of 171 validated configurations finish within 1.1×1.1\times of CUDA, including 19 large-table configurations on which Triton is faster. An A100 exhibits the same width-dependent convergence, from 4.4×4.4\times at 32 bits to 1.6×1.6\times at 256 bits. This convergence comes from fixed overheads being amortized as per-element arithmetic grows. In particular, host-side launch costs dominate short-running Triton kernels, while Triton's original block-reduction implementation performs redundant modular additions across threads. Replacing that reduction with t1. reduce brings Triton's median kernel time to within 8% of CUDA's on both A100 and H100. Specialized point interpolation accelerates 256-bit evaluation kernels by 1.55−1.75×1.55-1.75\times on both backends.

At large cryptographic field widths, a Python-embedded DSL is therefore a compelling choice for prover kernels. The remaining performance gap depends strongly on reduction and launch structure, while arithmetic specialization benefits both programming models.

CCS Concepts

• Security and privacy → Cryptography; • Theory of computation → Cryptographic protocols; • Software and its engineering → Software libraries and repositories.

References (13)