Manuscript Offprint
arXiv:2610.37710zkDuel: Characterizing SumCheck Prover Kernels across GPU Programming Models
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
Alhad Daftardar
Tandon School of Engineering
New York University
Brooklyn, NY, USA
Brandon Reagen
Tandon School of Engineering
New York University
Brooklyn, NY, USA
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 median advantage over Triton at 32 bits but only at 256 bits, where 30 of 171 validated configurations finish within of CUDA, including 19 large-table configurations on which Triton is faster. An A100 exhibits the same width-dependent convergence, from at 32 bits to 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 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.
ACM Reference Format:
Samarth Narang, Alhad Daftardar, and Brandon Reagen. 2026. zkDuel: Characterizing SumCheck Prover Kernels across GPU Programming Models. In International Workshop on Hardware and Architectural Support for Security and Privacy 2026 (HASP '26), October 31-November 01, 2026, Athens, Greece. ACM, New York, NY, USA, 10 pages. https://doi.org/10.1145/3857307.3857312
1 Introduction
Zero-knowledge proofs have moved from a theoretical construction into deployed infrastructure, underpinning verifiable computation, privacy-preserving systems, and blockchain applications. In every such deployment the prover is the bottleneck: it operates on a secret witness and runs orders of magnitude slower than verification. SumCheck is a core prover primitive in polynomial proof systems and plays a central role in Spartan- and HyperPlonk-style constructions [2, 39]. Its inner loop is highly regular: evaluate a polynomial over paired table entries, reduce partial sums, derive the next challenge, and fold the table. This structure makes GPUs attractive. A practical GPU implementation, however, is not a simple table scan. For 256-bit fields, every logical field operation expands into limb arithmetic, carry propagation, Montgomery reduction, and temporary storage. These engineering details determine whether a kernel behaves like a memory-bandwidth benchmark, an integer-arithmetic benchmark, or a compiler and code-generation stress test.
Triton has been widely adopted in the machine-learning community as a Python-integrated DSL for writing custom GPU kernels [42]. Its appeal comes from making high-performance GPU programming more accessible than writing low-level CUDA [33] directly, especially for tensor-oriented floating-point workloads such as tiled matrix operations, reductions, and fused elementwise kernels. Cryptographic prover kernels stress different mechanisms: multi-limb integer arithmetic, modular reduction, carry propagation, and layout-sensitive table operations. The question is therefore not whether such a programming model can express finite-field prover kernels, which it can, but what the abstraction costs, and

This work is licensed under a Creative Commons Attribution 4.0 International License. HASP '26, Athens, Greece
© 2026 Copyright held by the owner/author(s).
ACM ISBN 979-8-4007-2964-5/2026/10
https://doi.org/10.1145/3857307.3857312
Narang, Daftardar, and Reagen
whether that cost stays constant across the arithmetic widths cryptography spans.
Answering it requires a native CUDA baseline, because only a matched implementation separates algorithmic cost from backend cost. Several lines of work bear on this. Production libraries expose CUDA SumCheck backends [12], and recent systems accelerate SumCheck within a particular prover by partitioning rounds between GPU and host [9]. Complementary work compares Number Theoretic Transform (NTT)- and SumCheck-based primitives under unified architectural budgets [28], and a recent performance study of ZKPs on GPUs reports that prover arithmetic executes on the 32-bit integer pipeline with limited instruction-level parallelism, leaving it bounded by available integer compute; that study covers multi-scalar multiplication (MSM) and NTT [43]. These efforts target end-to-end prover performance, other kernels, or platform-independent comparison. The question we address is narrower, and to our knowledge, remains open: how does a single prover kernel behave across arithmetic widths and programming models when the proof system, the workload, and the correctness criterion are all held fixed?
zkDUEL closes that gap. It pairs a CUDA implementation with a matched Triton implementation of the same 25 prover constraints, derived from the zkPHIRE constraint set [5]: Spartan-style satisfiability constraints, Halo2 curve and point-addition, HyperPlonk zero- and permutation-checks, their Jellyfish variants, and polynomial openings. These constraints differ in the properties that stress a GPU: product-chain length, number of distinct input tables, polynomial degree, and count of simultaneously live intermediates. That variation is what makes them a benchmark rather than one kernel measured repeatedly. Both backends evaluate identical workload specifications, layouts, and interpolation settings over four Montgomery prime fields: a 32-bit prime, Goldilocks, the Mersenne prime , and the BLS12-381 scalar field.
Our central finding is that the cost of programming-model abstraction is not a fixed tax but falls steadily as arithmetic widens. On an H100, CUDA holds a 3.50× median advantage over Triton at 32 bits; at 256 bits the gap falls to 1.37×, with 30 of 171 validated configurations finishing within 1.1× of CUDA, including 19 Triton wins. An A100 exhibits the same width-dependent convergence. We trace this width dependence to fixed costs that dominate when field arithmetic is cheap and are progressively amortized as multi-limb Montgomery work grows. Two effects are particularly important: host-side launch overhead, and Triton's original block-reduction implementation, in which every thread performs all of the block's modular additions. Section 5.3 develops this. Two readings follow: Triton is a plausible implementation vehicle for prover kernels at the widths cryptography actually uses, and its Python embedding puts GPU kernel development within reach of implementers who would not write CUDA by hand, which matters because constraint sets evolve faster than hand-written kernels can be rewritten. Less expectedly, the result identifies finite-field cryptography as an application domain for a DSL designed around tiled floating-point tensors, a workload class with almost none of the properties Triton was built to exploit. This paper contributes:
- A characterization of the CUDA-Triton performance gap showing that fixed launch and reduction overheads
account for much of the gap at narrow fields and are progressively amortized as multi-limb arithmetic widens. Replacing Triton's original reduction with t1. reduce reduces the median kernel gap to within 8% of CUDA on both A100 and H100.
-
The finding that programming-model overhead decreases with arithmetic width, measured over 758 validated configurations from an 800-configuration sweep on an H100, with the same trend observed on an A100: CUDA's median speedup falls from 3.5× at 32 bits to 1.4× at 256 bits, where 30 of 171 configurations finish within 1.1× of CUDA and Triton is faster on 19.
-
Backend-independent kernel optimizations for wide-field SumCheck: specialized point interpolation replaces small-point Montgomery multiplications with cascading modular additions and speeds up 256-bit evaluation kernels by 1.65–1.75× in CUDA and 1.55–1.59× in Triton. A limb-major table layout provides a further 1–5% improvement at 256 bits when combined with specialized interpolation.
-
An open, correctness-gated benchmark artifact with matched CUDA and Triton implementations of 25 prover constraints across four arithmetic widths, available at https://github.com/snarang181/zk-duel. Reported configurations require cross-backend checksum agreement, with both implementations additionally checked against a CPU big-integer reference.
2 Background
2.1 SumCheck as a Prover Kernel
In ZKPs, computations being proven are represented using polynomial constraints that encode the correctness of a program [2, 39, 44], a process called arithmetization. The scheme populates constituent polynomials so that their evaluations at step describe the operation performed at that step, and a composite constraint polynomial vanishes across the execution domain exactly when every step executed correctly [10]. In the implementation, evaluations of the constituent polynomials are represented as input tables. The prover therefore needs a way to show that a polynomial vanishes over the entire execution domain without the verifier inspecting every step directly.
SumCheck provides one mechanism for this global check and appears in several proof-system constructions [26, 39, 41]. It lets a prover convince a verifier that the sum of a multivariate polynomial over the Boolean hypercube equals a claimed value :
The protocol runs for rounds, one per variable . In each round the prover reduces the multivariate polynomial to a univariate polynomial whose degree is bounded by the polynomial's individual degree in the current variable . The verifier checks that evaluating at 0 and 1 and computing their sum is consistent with the previous claim, then samples a random challenge fixing for the next round. After all variables are fixed the verifier evaluates once at a random point.
From an implementation standpoint, the prover repeatedly evaluates a round polynomial over a table of field elements, derives a challenge, and folds the table for the next round. If the initial table has size , each round halves the active table. Each round views the table as even and odd pairs, and for a pair (even, odd) interpolates at a point as
A round evaluates Equation 2 at points for every constituent input table the workload references, where is the degree of the round polynomial. Both the table count and are properties of the constraint being proven, which is why constraints stress a GPU differently.
This structure makes SumCheck attractive for GPU execution: each round exposes parallel work over many table entries. The kernel is not a simple dense tensor operation, however. Each table entry is a finite-field element, and Equation 2 is mathematically trivial but expands, at cryptographic widths, into multi-limb arithmetic.
2.2 Prime-Field and Montgomery Arithmetic
The workloads in zkDUEL operate over prime fields , where the modulus fixes both the field size and the number of limbs needed to represent an element. For native-width fields a field element occupies one machine word; for cryptographic widths each element occupies several limbs, and zkDUEL's 256-bit path uses eight 32-bit limbs per element in Montgomery form. Montgomery representation makes repeated modular multiplication more efficient by replacing explicit division with multiplications [31]. Even so, multiplication remains much heavier than addition: a 256-bit product requires 64 limb-level multiply-add operations, carry propagation across the partial products, and a reduction pass. Addition and subtraction are limb-wise carry and borrow chains followed by a conditional modular correction.
A SumCheck round compounds these costs along two axes. A single application of Equation 2 at 256 bits costs a modular subtraction, a Montgomery multiplication, and a modular addition, and a round applies it times per pair of entries. Those intermediates are also simultaneously live, resulting in pressure on registers, instruction scheduling, and generated-code quality.
This is why 256-bit SumCheck is not simply a scaled-up 32-bit benchmark. As field width grows, multi-limb arithmetic increasingly shifts the workload away from memory bandwidth alone and toward arithmetic, reduction, register allocation, memory layout, and code-generation costs. Product-chain structure further amplifies these effects by increasing the amount and lifetime of intermediate state.
2.3 Arithmetic Width and Soundness
zkDUEL sweeps prime fields at four arithmetic widths: 32, 64, 128, and 256 bits. Small fields are attractive because they make prover arithmetic cheaper, but a single challenge from a 32- or 64-bit field is too small to provide conventional cryptographic soundness levels. Practical proof systems therefore often perform bulk arithmetic over a small base field while drawing soundness-critical challenges from a larger extension field. For example, Plonky3 supports Goldilocks
and corresponding extension fields, while RISC Zero uses BabyBear with a degree-4 extension [34, 36]. This design keeps most prover arithmetic narrow while providing a substantially larger challenge space for soundness-critical checks. zkDUEL's small-width rows characterize that regime, isolating the effect of limb count on GPU behavior while holding the protocol, the workload, and the correctness criterion fixed. They use the same generic Montgomery arithmetic as the 256-bit configurations rather than exploiting the special-form reductions available for the Goldilocks prime and . The small-width results therefore vary only the limb count within one arithmetic implementation, rather than modeling a field-specialized small-field prover. The 256-bit rows use the BLS12-381 scalar field and cover the classical setting, where the base field alone carries soundness.
Two scoping consequences follow. First, zkDUEL measures base-field SumCheck only; extension-field challenge arithmetic requires mixed-width kernels and is out of scope. Second, a field in zkDUEL is a parameter set rather than a kernel property, consisting of a modulus, a limb count, and a Montgomery constant shared by both backends, so adding a field requires no kernel changes.
3 Design and Implementation
3.1 Workload Specifications and Static Kernels
The core abstraction in zkDUEL is a workload specification: a backend-independent description of a polynomial constraint. Each specification assigns a stable identifier, records the polynomial expression, and lowers it into term metadata describing which variables appear in each term, how terms are grouped, and which coefficients apply. Both backends consume the same metadata, so a named workload denotes the same computation on either path.
zkDUEL performs no dynamic expression generation in the measured path. Each identifier maps to matched static implementations, which keeps three concerns separate that are easy to conflate: the round count fixes the initial table size ; the field width fixes the number of limbs per element; and the workload fixes which input tables, coefficients, and product chains are evaluated per entry. Static kernels make results reproducible, make generated code inspectable, and ensure the benchmark measures kernel execution rather than a runtime expression compiler.
The suite has two tiers. The diagnostic tier isolates individual expression patterns: a single product, a length-three product chain, repeated input symbols, and independent product terms summed together. It calibrates the infrastructure and attributes behavior to one structural feature at a time. The zkPHIRE tier is the primary workload set: 25 constraints adapted from a published SumCheck accelerator [5], spanning Spartan-style satisfiability, Halo2 curve and point-addition gates, HyperPlonk zero- and permutation-checks, their Jellyfish variants, and a polynomial opening check. The tier is a spread across four structural axes that independently stress a GPU: the number of distinct input tables (2 to 22), the polynomial degree (2 to 7), the length of the longest product chain, and the count of simultaneously live intermediates.
3.2 Kernel Optimizations
Both backends implement the same SumCheck round: the active table is paired into even and odd entries, the round polynomial is
Narang, Daftardar, and Reagen

Figure 1: Interpolating one input table at the four points of a degree-3 round. The difference is formed once. The generic path then issues a Montgomery multiplication per point, whereas successive points differ by exactly , so the specialized path returns even and odd directly and reaches the rest by modular addition.
evaluated at its interpolation points and accumulated, and the table is folded using the round challenge. Holding this structure fixed isolates differences in host-side orchestration and generated kernels rather than differences in the SumCheck algorithm. Within this common structure, zkDUEL exposes the optimizations below as compile-time controls, each with a matched baseline and optimized path. No runtime dispatch remains in the measured kernels, allowing each optimization to be evaluated independently on identical workloads.
3.2.1 Specialized Point Interpolation. Interpolating input tables at the round's evaluation points is the dominant per-element cost. Applying Equation 2 directly requires a modular subtraction, a Montgomery multiplication, and a modular addition per point per input table, so a workload referencing NUM_INPUTS tables at degree performs
Montgomery multiplications per (even, odd) pair for interpolation alone. At 256 bits each expands into 64 limb multiply-accumulates, carry propagation, and a reduction pass.
Substituting a compile-time point into Equation 2 exposes the structure. Writing , the equation becomes even + , so returns even, returns odd, and each subsequent point exceeds the previous one by exactly . For a point , the multiple can therefore be formed from with modular additions, avoiding multiplication altogether. Figure 1 shows this for a degree-3 round. zkDUEL takes the additive path for and the generic Montgomery path beyond, where the chain grows long enough that a multiplication becomes competitive; with a maximum degree of 7 in the suite, the fallback is never taken.
Summing over the points for one (even, odd) pair of one input table replaces Montgomery multiplications with
modular additions. For , both implementations compute the subtraction forming and the final addition of even; the specialized cases and omit these operations as well. Table 1
Table 1: Interpolation cost per input table per round. Cascading addition removes every Montgomery multiplication at the degrees present in the suite, trading them for modular additions. Counts include the cascading additions used to form ; for , the subtraction forming and final addition of even are common to both implementations.
| Degree | Mont. multis removed | Cascading mod. adds |
|---|---|---|
| 1 | 2 | 0 |
| 2 | 3 | 1 |
| 3 | 4 | 3 |
| 5 | 6 | 10 |
| 7 | 8 | 21 |
instantiates this for the degrees present in the suite. At , the transformation removes all 8 Montgomery multiplications per input table in exchange for 21 modular additions, and on the widest workload, which references 22 tables, it removes 176 multiplications per (even, odd) pair per round.
The optimization is a compile-time specialization in both backends. The point mode and point index are resolved before code generation, so the emitted kernel for contains only the direct return, the kernel for returns the odd value, and kernels for contain the additive chain and no multiplication. No branch survives into the measured code. The generic path remains selectable through --point-mode for comparison.
3.2.2 Limb-Major Table Layout. A table of field elements of limbs each can be stored two ways. The default element-major layout places all limbs of one element contiguously,
which is natural for scalar arithmetic but places neighbouring lanes words apart; at that is a 32-byte stride. The limb-major layout stores each limb position as a contiguous plane,
so a single lane gathers one element's limbs from planes, but a warp reading the same limb position across 32 consecutive elements touches one contiguous 128-byte region, as shown in Figure 2. Both backends select the layout at compile time, so the emitted kernel contains only one address computation and no per-access dispatch. The choice is exposed through --layout. Section 5.2 measures its effect.
3.3 Backend Realization
The two backends express the same static specialization in their natural idioms. In Triton, the workload identifier, limb count, layout mode, and point mode are constexpr parameters, while round-dependent quantities such as the active table size are passed as runtime values. This distinction is necessary because SumCheck shrinks its table every round, and treating the active size as a specialization key would make the benchmark measure recompilation instead of steady-state execution. Benchmark scripts expose TRITON_CACHE_DIR so cold and warm behavior are recorded separately.

Figure 2: The same four words under both layouts at : limb 0 of four consecutive field elements, as read by four consecutive lanes. Element-major scatters them at stride ; limb-major makes them contiguous. The pattern extends to a full 32-lane warp.
In CUDA, field width is selected through template cases for one, two, four, and eight limbs, and workload identifiers dispatch to matched static evaluators. The CUDA path builds as native executables rather than Python bindings; the benchmark driver launches them, parses their CSV output, and joins rows with the Triton results by workload, bit width, and round count.
Our CUDA implementation is intended to be a strong compiled baseline rather than a hand-written PTX kernel. We specialize each evaluation kernel to the workload, table count, field width, layout, and interpolation point, which lets the compiler fully unroll the limb loops. Field multiplication uses CIOS Montgomery reduction with 64-bit accumulation, while addition and subtraction use explicit carry chains followed by a conditional correction. The code is compiled with nvcc -O3 for the native architecture and otherwise leaves register allocation and instruction selection to the compiler. We swept block sizes from 64 to 512 threads and use 128 throughout, which is either the fastest choice or within 1% of fastest for the evaluation kernels. The CUDA and Triton paths therefore perform the same underlying field computation, while retaining three implementation differences: the block reduction (Section 5.3), modular correction, and the C++ versus Python host loops.
4 Methodology
4.1 Correctness Gating
We validate correctness in two complementary ways. Both implementations are first checked against a CPU reference that evaluates each workload polynomial independently using Python big integers. This covers every reported workload and field width at and , with fixed and SHA3 challenges; all 381 cases per backend match.
The performance sweep then carries a checksum over the round-polynomial evaluations produced by each backend. CUDA and Triton results are joined by workload, field width, and round count, and a configuration enters the reported results only when the two checksums agree. Configurations that fail, exceed the 30-minute limit, or exhaust device memory are retained with their status and failure reason, and Section 5 accounts for these cases in the reported sweep. Figure 3 summarizes this flow. Together, these checks guard against errors in carry propagation, reduction, layout indexing, and

Figure 3: Correctness gating in the benchmark harness. Reported configurations require matching CUDA and Triton checksums, while both implementations are independently validated against the CPU big-integer reference.
challenge generation that could otherwise leave timing results looking entirely plausible while changing the underlying computation.
4.2 Timing
Unless otherwise stated, all results use specialized interpolation points, the element-major layout, and whole-run timing. Whole-run timing covers one complete SumCheck execution: each round launches one evaluation kernel per interpolation point, reduces the resulting partial sums across multiple kernels, synchronously copies each point result to the host, and folds the table for the next round. Table generation and Montgomery encoding occur outside the timed region.
Each configuration executes once outside the measurement set to absorb Triton JIT compilation and CUDA module loading, followed by two warm-up runs and ten timed runs. For the H100 sweeps, both backends use synchronized host timers, time.perf_counter for Triton and std::chrono::steady_clock for CUDA, and we report the median of the ten measurements. CUDA kernels use 128 threads per block, while Triton programs use 128 lanes with the default four warps; corresponding kernels use matched grid dimensions. Each configuration is limited to 30 minutes.
For the GPU-kernel measurements in Section 5.3, Nsight Systems records the duration of every kernel. We sum kernel durations within each SumCheck execution, average this total over the 13 executions of a configuration, and report medians across constraints. Per-configuration kernel times are stable to within 1%, whereas wall-clock time is more sensitive to host state; all wall-clock ratios compared within a table therefore come from the same measurement session.
4.3 Platform
Our primary evaluation platform is an NVIDIA H100 PCIe with 80 GB of memory, 114 SMs, and compute capability 9.0, running CUDA 12.9, PyTorch 2.12.0, and Triton 3.7.0. We use the H100 for the main performance results and mechanism studies in Section 5. To assess portability across GPU generations, we also use two independent A100 systems: an A100-SXM4-80GB platform for a full
Narang, Daftardar, and Reagen
performance sweep and an A100 PCIe system for GPU-kernel measurements. Because host-inclusive timing depends on the surrounding system, wall-clock comparisons are kept within each machine. Table 5 in Appendix A records the complete hardware and software environments, and the experiment harness captures the associated metadata, logs, and result files for each run.
5 Evaluation
We evaluate 800 configurations on the H100, spanning 25 zkPHIRE-derived constraints, four arithmetic widths, and round counts ( also indicates the starting size of each table, field elements). Of these, 758 complete with matching Triton and CUDA checksums and form the results below. The remaining configurations are explained by either memory capacity or compilation cost. Thirty-six exceed the 80 GB device capacity: each run must hold an input table together with two full-size fold buffers, for a footprint of bytes. The largest configuration that completes uses 77.3 GB, while the skipped cases would require 90–567 GB. The final six configurations are the 256-bit instances of zk_jellyfish_zerocheck_hp at , where Triton compilation exceeds the 30-minute limit; Section 5.4 examines this compiler-scaling limit in more detail. The results support four observations. CUDA is faster than Triton on the matched runs overall, but the size of the gap depends strongly on expression structure and arithmetic width; at the widest fields and largest tables the two backends reach parity and the ordering sometimes reverses; the gap comes mostly from host launch overhead and a Triton reduction idiom, with register pressure a secondary factor; and the zkPHIRE ASIC provides context for the remaining distance to domain-specialized hardware.
5.1 Triton versus CUDA
Figure 4 compares the backends across the diagnostic tier, whose polynomials range from a single table read to a seven-symbol expression with two product chains. CUDA remains faster throughout, while the overall gap generally narrows as arithmetic intensity and expression complexity increase: at 32 bits it falls from on a single symbol to on the longest chain.
5.2 Field Width and Representation
Table 2 aggregates the 758 validated zkPHIRE configurations by arithmetic width, and both summary statistics show the same progression as the field widens. CUDA's median advantage falls from at 32 bits to , , and at 64, 128, and 256 bits, respectively; over the same widths, its narrowest margin falls from to , , and , crossing parity for the first time at 128 bits.
The two widest fields also contain a growing set of configurations where the backends are effectively comparable. At 256 bits, 30 of 171 configurations (18%) finish within of CUDA and 19 favor Triton, while at 128 bits the corresponding counts are 11 of 189 and 7; by contrast, no 32- or 64-bit configuration comes within , and CUDA leads every one of them by at least . These wins are generally larger than run-to-run variation: 19 of the 26 favor Triton by more than 5%, with the largest advantages appearing

Figure 4: CUDA speedup over Triton on the diagnostic tier (H100). The gap narrows with arithmetic width across series and generally with expression complexity from left to right.
for zk_complete_add_3 at () and (), followed by zk_complete_add_6 at ().
The near-parity configurations also follow a clear workload and table-size pattern rather than appearing uniformly across the sweep. Most wins come from the addition-constraint family, zk_complete_add_1 through_6 and zk_incomplete_add_2, with two additional 128-bit wins from zk_jellyfish_zerocheck_hp; the broader near-parity set also includes the HyperPlonk vanilla and Jellyfish checks. At 256 bits, near-parity first appears at and Triton wins begin at , increasing to seven wins at , while at 128 bits the corresponding thresholds move to and . No 256-bit win appears at , although only four of the 25 constraints still fit in memory at that size, so the overall pattern is one of convergence at wider arithmetic and larger tables, most clearly among the suite's more arithmetic-intensive constraints.
We evaluate both kernel optimizations on H100 across five constraints at 32 and 256 bits, with and 24. Specialized interpolation improves 256-bit evaluation-kernel performance by in CUDA and in Triton, compared with only at 32 bits, where single-limb multiplication is relatively inexpensive. With specialized interpolation enabled, limb-major storage provides a further 1–5% improvement at 256 bits; under generic interpolation, its effect is small.
5.3 Decomposing the CUDA–Triton Gap
To understand where the end-to-end gap arises, we use Nsight Systems to separate GPU execution from the host-side portion of each run. Table 3 summarizes all 25 constraints at 32 bits and 24 at 256 bits. CUDA and Triton launch the same sequence of 313–1303 kernels per SumCheck run, while the host cost of each launch differs substantially: Triton's Python driver incurs per launch, compared with for the CUDA executable. This overhead
Table 2: The 758 validated zkPHIRE configurations on the H100 by arithmetic width. Best ratio is CUDA's narrowest margin at that width; values below 1.0 mean Triton is faster.
| Width | Median | Best ratio | Wins | Within 1.1× |
|---|---|---|---|---|
| 32 | 3.50× | 1.481 | 0 | 0 |
| 64 | 2.93× | 1.109 | 0 | 0 |
| 128 | 2.17× | 0.855 | 7 | 11 |
| 256 | 1.37× | 0.650 | 19 | 30 |
| All | — | 0.650 | 26 | 41 |
dominates the smaller-field regime. At 32 bits and , 91% of Triton's wall-clock time contains no GPU-kernel execution, reducing CUDA's end-to-end advantage to when comparing kernel time alone.
Most of the remaining kernel-level difference comes from the block reduction. Each evaluation block contains 128 threads, producing 128 partial sums that ultimately have to be combined into one field element. In our original Triton implementation, these partial sums are materialized so that every thread retains the complete set and independently carries out the reduction, turning the 127 modular additions needed once per block into 127 additions per thread. Replacing the reduction with t1.reduce lets Triton express the block-wide reduction directly; every checksum remains unchanged, while Triton's median kernel time falls to of CUDA across the configurations in Table 3.
Register allocation contributes a smaller residual effect. The measured kernels do not spill, although at 32 bits Triton uses 44–46 registers per thread compared with CUDA's 18–32. Despite this difference, all 25 constraints have the same CUDA/Triton occupancy ratio while their evaluation-kernel gaps span to . Constraining CUDA to Triton's occupancy by padding shared memory slows it by at most across four 32-bit constraints, which bounds the performance attributable to occupancy in this regime. At 256 bits, the effect becomes more pronounced for some kernels and accounts for nearly the full residual gap in zk_vanilla_perm-check_hp.
Across the profiled evaluation kernels, DRAM throughput reaches only 6–42% of peak, ruling out off-chip bandwidth as the source of the observed gap.
The relative importance of these costs changes as field arithmetic widens. Launch overhead remains roughly fixed per kernel, reduction cost grows approximately linearly with the number of limbs, and multi-limb Montgomery multiplication grows quadratically. Consequently, arithmetic increasingly dominates both host overhead and reduction cost: at 256 bits and , the fraction of Triton's wall-clock time without GPU-kernel execution falls to 10%, while CUDA's kernel-time advantage narrows to and to after replacing the reduction with t1.reduce.
5.4 A Compile-Time Limit in Triton
zk_jellyfish_zerocheck_hp, which references 22 input tables at degree 7, completes on both backends from 32 through 128 bits. At 256 bits, CUDA still compiles the specialized-point kernels to
Table 3: CUDA-Triton runtime breakdown on H100. Entries are Triton/CUDA ratios; values below favor Triton. “No kernel” is Triton's wall-clock fraction with no GPU kernel executing.
| Width, | Wall T/C | Kernel T/C | +t1.reduce T/C | No kernel |
|---|---|---|---|---|
| 32, 20 | 4.02 | 1.38 | 0.93 | 91% |
| 32, 24 | 3.17 | 2.20 | 1.05 | 60% |
| 256, 20 | 1.52 | 1.03 | 0.92 | 49% |
| 256, 24 | 1.24 | 1.12 | 1.01 | 10% |
Table 4: zkPHIRE-derived constraints at 256 bits, . Geometric-mean runtimes in milliseconds; ASIC is the zkPHIRE accelerator [5]. Jellyfish zerocheck does not compile within the time limit at eight limbs (Section 5.4), hence .
| Family | Triton | CUDA | Speedup | ASIC | |
|---|---|---|---|---|---|
| Verifiable / Spartan | 3 | 25.60 | 17.11 | 6.31 | |
| Halo2 curve checks | 3 | 56.21 | 41.43 | 8.86 | |
| Incomplete addition | 2 | 100.85 | 92.49 | 23.06 | |
| Complete addition | 12 | 104.60 | 101.44 | 19.95 | |
| HyperPlonk vanilla | 2 | 129.90 | 113.84 | 19.81 | |
| HyperPlonk Jellyfish | 1 | 406.30 | 388.52 | 30.09 | |
| Opening check | 1 | 56.10 | 42.13 | 21.29 | |
| All matched | 24 | 84.96 | 74.16 | 16.11 |
226–236 registers per thread without spilling, whereas Triton compilation grows from seconds at 32 bits to minutes at 64–128 bits and hours at 256 bits. At 64 and 128 bits, 96–99% of this time is spent in TritonGPUCoalesce¹. The pass repeatedly constructs def-use slices for loads and stores, causing its cost to rise rapidly as the fully unrolled kernel expands. We observe the same behavior in the latest Triton releases, indicating a compiler scalability limit for large unrolled kernels rather than a regression specific to one version.
5.5 zkPHIRE-Derived Benchmark Results
At 256 bits and (Table 4), CUDA retains a geometric-mean advantage over Triton across the 24 constraints matched to zkPHIRE, although the gap varies substantially by workload family, from for the Verifiable ASICs/Spartan constraints to for complete addition. The addition constraints remain the strongest case for Triton, with the two backends within three percent on complete addition, but the convergence is no longer confined to that family: addition constraints account for 34 of the 41 configurations within and 24 of the 26 Triton wins, while several HyperPlonk configurations also approach parity. Relative to zkPHIRE's reported ASIC results [5], CUDA remains slower in geometric-mean runtime (74.16 versus 16.11 ms), leaving substantial headroom beyond what either GPU implementation recovers.
¹https://github.com/triton-lang/triton/blob/v3.7.0/lib/Dialect/TritonGPU/Transforms/Coalesce.cpp#L71; the per-operation slice is built in CoalesceUtils.cpp, line 45.
Narang, Daftardar, and Reagen
5.6 Portability to the A100
The A100-SXM4 sweep shows the same width-dependent convergence as the H100: CUDA's median advantage falls from 4.39× at 32 bits to 3.58×, 2.58×, and 1.60× as the field widens, while 26 of 165 validated 256-bit configurations finish within 1.1× of CUDA, including 17 Triton wins; 16 of these are also wins on the H100. The kernel-level decomposition carries across generations as well. On an A100 PCIe, CUDA's kernel-time advantage is 1.42× at and 2.37× at for 32-bit fields, while t1.reduce brings Triton's median kernel time to 0.97–1.08× of CUDA's.
6 Related Work
GPU acceleration of proof systems. Prior GPU work has primarily targeted MSMs and NTTs, the kernels that dominate pairing-based provers [25, 27]. Production libraries such as ICICLE [12] package these and other proving primitives as reusable GPU backends across several curves and field sizes. The optimizations for MSM and NTT are largely kernel-specific: bucket-method scheduling and point accumulation for MSM, and butterfly scheduling, twiddle-factor organization, and memory-layout optimizations for NTT. These techniques do not directly transfer to SumCheck, whose dominant operation is instead a sequence of dependent table folds. Recent systems have also accelerated NTTs, Merkle trees, and other primitives in hash-based provers [21, 24].
SumCheck on GPUs. Recent work has begun accelerating Sum-Check on GPUs, but has considered a relatively narrow range of SumCheck polynomials. BatchZK [24] implements a pipelined GPU SumCheck for a single multilinear polynomial, optimizing repeated table reductions and folds for high-throughput batch proving. Chimera [9] accelerates SumCheck within Spartan, keeping the active polynomial state resident on the GPU across profitable rounds and falling back to the CPU for small domains; consequently, its evaluation is restricted to Spartan's low-degree R1CS SumChecks, whose polynomials have degree at most three. ICICLE [12] provides a more general CUDA SumCheck primitive with a programmable combine function, but limits the number of constituent multilinear polynomials and does not characterize performance across high-degree SumChecks. These works demonstrate that SumCheck can benefit substantially from GPU acceleration, but study it within a fixed library or prover configuration. zkDUEL instead isolates SumCheck as a standalone kernel, allowing protocol structure, field representation, polynomial degree, and implementation strategy to be varied independently.
Characterization and primitive comparison. ZKProphet [43] presents a performance study of ZKPs on GPUs, finding that prover arithmetic executes almost entirely on the 32-bit integer pipeline and is limited by data dependencies and available integer compute; it covers MSM and NTT. Other work provides a CPU microarchitectural characterization of Groth16, profiling pipeline stalls, memory behavior, instruction mix, and multicore scalability across several CPUs and elliptic curves [38]. Complementary work compares NTT- and SumCheck-based primitives under matched on-chip SRAM and off-chip bandwidth budgets and finds no universal winner, with the better primitive depending on polynomial degree and available memory [28]. Both hold the implementation fixed
and vary the kernel or the budget; zkDUEL holds the protocol and workload fixed and varies the programming model and arithmetic width on real hardware.
Specialized hardware. A growing body of work has focused on ASIC and commodity acceleration of kernels present in ZKPs, and has focused primarily on MSMs and NTTs [3, 6, 14, 19, 20, 22, 23, 35, 37, 45–51], with other work in cryptographic computing focused on fully homomorphic encryption and multi-party computation [7, 8, 11, 13, 15–18, 29, 30, 32, 40].
Recent work proposed domain-specific accelerators for SumCheck-based provers [4, 5]. zkDUEL's primary workload tier derives from the zkPHIRE constraint set, and Section 5.5 uses its published numbers as context for the distance between commodity GPUs and specialized silicon. Existing ZKP benchmarking efforts compare complete proof system implementations at the application level; zkDUEL operates one level down, at the granularity of a single prover kernel with matched backends and correctness gating.
7 Conclusion
The cost of programming-model abstraction in SumCheck is not fixed. Across 758 validated H100 configurations, CUDA's median advantage over Triton falls from 3.50× at 32 bits to 1.37× at 256 bits; 18% of the 256-bit configurations finish within 1.1× of CUDA, compared with none at 32 or 64 bits, and an A100 shows the same width-dependent convergence. Much of the difference comes from host launch overhead and Triton's original block reduction, fixed costs that are increasingly amortized as multi-limb Montgomery arithmetic grows; replacing the reduction with t1.reduce brings Triton's median kernel time within 8% of CUDA on both GPUs.
For prover implementations at cryptographic widths, these results make a Python-embedded DSL a practical choice, and arithmetic specialization benefits both programming models. The abstraction does encounter a compiler-scaling limit on the suite's widest constraint: CUDA compiles and runs the 256-bit, 22-table degree-7 kernel without spilling, while Triton requires hours per kernel as TritonGPUcoalesce scales poorly with the fully unrolled program.
Several directions remain. Cross-vendor evaluation through Triton's AMD ROCm backend [1] would test whether the same trends hold beyond NVIDIA GPUs, while extension-field arithmetic would broaden the study to provers over small base fields. At narrow widths, CUDA Graphs or persistent kernels could further reduce the launch overhead exposed by our measurements.
Acknowledgments
This work was supported by NSF CAREER award #2340137, NSF CIRC GRAND #2450539, and NSF NeTs #2504400, and generous support from DTCC, AMD, Google, and NY State Center for Advanced Technology in Telecommunications (CATT). The views, opinions, and/or findings expressed are those of the authors and do not necessarily reflect the views of sponsors.
References
[1] AMD. 2026. AMD ROCm Documentation. https://rocm.docs.amd.com/en/latest/. Accessed: 2026-08-01. [2] Binyi Chen, Benedikt Bünz, Dan Boneh, and Zhenfei Zhang. 2023. HyperPlonk: Plonk with Linear-Time Prover and High-Degree Custom Gates. In Advances in Cryptology – EUROCRYPT 2023: 42nd Annual International Conference on the Theory and Applications of Cryptographic Techniques, Lyon, France, April 23–27, 2023, Proceedings, Part II (Lyon, France). Springer-Verlag, Berlin, Heidelberg, 499–530. doi:10.1007/978-3-031-30617-4_17
[3] Xiangren Chen, Bohan Yang, Wenping Zhu, Hanning Wang, Qichao Tao, Shuying Yin, Min Zhu, Shaojun Wei, and Leibo Liu. 2024. A High-performance NTT/MSM Accelerator for Zero-knowledge Proof Using Load-balanced Fully-pipelined Montgomery Multiplier. IACR Transactions on Cryptographic Hardware and Embedded Systems 2025, 1 (Dec. 2024), 275–313. doi:10.46586/techs.v2025.i1.275-313
[4] Alhad Daftardar, Jianqiao Mo, Joey Ah-kiew, Benedikt Bünz, Ramesh Karri, Siddharth Garg, and Brandon Reagen. 2025. Need for zkSpeed: Accelerating Hyper-Plonk for Zero-Knowledge Proofs. In Proceedings of the 52nd Annual International Symposium on Computer Architecture (ISCA '25). Association for Computing Machinery, New York, NY, USA, 1986–2001. doi:10.1145/3695053.3731021
[5] Alhad Daftardar, Jianqiao Mo, Joey Ah-kiew, Benedikt Bünz, Siddharth Garg, and Brandon Reagen. 2026. zkPHIRE: A Programmable Accelerator for ZKPs over High-degRee, Expressive Gates. In 2026 IEEE International Symposium on High Performance Computer Architecture (HPCA). 1–15. doi:10.1109/HPCA68181.2026.11408480
[6] Alhad Daftardar, Brandon Reagen, and Siddharth Garg. 2024. SZKP: A scalable accelerator architecture for zero-knowledge proofs. In Proceedings of the 2024 International Conference on Parallel Architectures and Compilation Techniques. 271–283.
[7] Austin Ebel, Karthik Garimella, and Brandon Reagen. 2025. Orion: A Fully Homomorphic Encryption Framework for Deep Learning. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2. 7:34–749.
[8] Austin Ebel and Brandon Reagen. 2026. Osiris: A Systolic Approach to Accelerating Fully Homomorphic Encryption. ACM Trans. Archit. Code Optim. 23, 1, Article 21 (March 2026), 27 pages. doi:10.1145/3788287
[9] Kashfia Farheen and Nektarios Georgios Tsoutous. 2026. Chimera: A Hybrid GPU Backend for Sumcheck Acceleration in Zero Knowledge Provers. Cryptology ePrint Archive, Paper 2026/1388. https://eprint.iacr.org/2026/1388
[10] Ariel Gabizon, Zachary J. Williamson, and Oana Ciobotaru. 2019. PLONK: Permutations over Lagrange-bases for Oecumonal Noninteractive arguments of Knowledge. cryptology eprint archive: 2019/953
[11] Karthik Garimella, Zahra Ghodsi, Nandan Kumar Jha, Siddharth Garg, and Brandon Reagen. 2023. Characterizing and Optimizing End-to-End Systems for Private Inference. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3 (Vancouver, BC, Canada) (ASPLOS 2023). Association for Computing Machinery, New York, NY, USA, 89–104. doi:10.1145/3582016.3582065
[12] Ingonyama. 2014. ICICLE: GPU Library for ZK Acceleration. https://github.com/ingonyama-zk/icicle
[13] Nandan Kumar Jha and Brandon Reagen. 2024. DeepReShape: Redesigning Neural Networks for Efficient Private Inference. Transactions on Machine Learning Research (TMLR) (2024).
[14] Zhuoran Ji, Zhiyuan Zhang, Jiming Xu, and Lei Ju. 2024. Accelerating Multi-Scalar Multiplication for Efficient Zero Knowledge Proofs with Multi-GPU Systems. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3 (La Jolla, CA, USA) (ASPLOS '24). Association for Computing Machinery, New York, NY, USA, 57–70. doi:10.1145/3620666.3651364
[15] Jongmin Kim, Sangpyo Kim, Jaewan Choi, Jaiyoung Park, Donghwan Kim, and Jung Ho Ahn. 2023. SHARP: A short-word hierarchical accelerator for robust and practical fully homomorphic encryption. In Proceedings of the 50th Annual International Symposium on Computer Architecture. 1–15.
[16] Jongmin Kim, Gwangho Lee, Sangpyo Kim, Gina Sohn, Minsoo Rhu, John Kim, and Jung Ho Ahn. 2022. ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse. In 2022 55th IEEE/ACM International Symposium on Microarchitecture (MICRO). 1237–1254. doi:10.1109/MICRO56248.2022.00086
[17] Jongmin Kim, Sungmin Yun, Hyesung Ji, Wonseok Choi, Sangpyo Kim, and Jung Ho Ahn. 2025. Anaheim: Architecture and Algorithms for Processing Fully Homomorphic Encryption in Memory. In 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA). 1158–1173. doi:10.1109/HPCA61900.2025.00089
[18] Sangpyo Kim, Jongmin Kim, Michael Jaemin Kim, Wonkyong Jung, John Kim, Minsoo Rhu, and Jung Ho Ahn. 2022. Bts: An accelerator for bootstrappable fully homomorphic encryption. In Proceedings of the 49th annual international symposium on computer architecture. 711–725.
[19] Gaurav Kuwar, Alhad Daftardar, Jianqiao Mo, Siddharth Garg, and Brandon Reagen. 2026. Locus: A framework for exploring and optimizing point addition hardware for zero-Knowledge Proofs. (Sept. 2026). arXiv:2609.18846 [cs.AR]
[20] Simon Langowski, Kaiwen He, and Srinivas Devadas. 2026. VROOM: Accelerating (Almost All) Number-Theoretic Cryptography Using Vectorization and the Residue Number System. In 35th USENIX Security Symposium (USENIX Security 26). USENIX Association, Baltimore, MD, 101–120. https://www.usenix.org/
conference/usenixsecurity26/presentation/langowski
[21] Muyang Li, Yueteng Yu, Bangyan Wang, Xiong Fan, Mingyu Gao, and Shuwen Deng. 2026. MegaZK: A Memory Efficient GPU System Accelerating End-to-end Zero-Knowledge Proof. In Proceedings of the 40th ACM International Conference on Supercomputing (ICS '26). Association for Computing Machinery, New York, NY, USA, 1165–1176. doi:10.1145/3797905.3807842
[22] Changxiu Liu, Hao Zhou, Patrick Dai, Li Shang, and Fan Yang. 2024. PriorMSM: An Efficient Acceleration Architecture for Multi-Scalar Multiplication. ACM Trans. Des. Autom. Electron. Syst. 29, 5, Article 77 (Aug. 2024), 26 pages. doi:10.1145/3678006
[23] Changxiu Liu, Hao Zhou, Lan Yang, Jiamin Xu, Patrick Dai, and Fan Yang. 2024. Gypsophila: A Scalable and Bandwidth-Optimized Multi-Scalar Multiplication Architecture. In Proceedings of the 61st ACM/IEEE Design Automation Conference (San Francisco, CA, USA) (DAC '24). Association for Computing Machinery, New York, NY, USA, Article 4, 6 pages. doi:10.1145/3649329.3658259
[24] Tao Lu, Yuxun Chen, Zonghui Wang, Xiaohang Wang, Wenzhi Chen, and Jiaheng Zhang. 2025. BatchZK: A Fully Pipelined GPU-Accelerated System for Batch Generation of Zero-Knowledge Proofs. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1 (Rotterdam, Netherlands) (ASPLOS '25). Association for Computing Machinery, New York, NY, USA, 100–115. doi:10.1145/3669940.3707270
[25] Tao Lu, Chengkun Wei, Ruijing Yu, Chaochao Chen, Wenjing Fang, Lei Wang, Zeke Wang, and Wenzhi Chen. 2022. cuZK: Accelerating Zero-Knowledge Proof with A Faster Parallel Multi-Scalar Multiplication Algorithm on GPUs. Cryptology ePrint Archive, Paper 2022/1321. https://eprint.iacr.org/2022/1321
[26] Carsten Lund, Lance Fortnow, Howard Karloff, and Noam Nisan. 1992. Algebraic methods for interactive proof systems. J. ACM 39, 4 (Oct. 1992), 859–868. doi:10.1145/146585.146605
[27] Weiliang Ma, Qian Xiong, Xuanhua Shi, Xiaosong Ma, Hai Jin, Haozhao Kuang, Mingyu Gao, Ye Zhang, Haichen Shen, and Weifang Hu. 2023. GZKP: A GPU Accelerated Zero-Knowledge Proof System. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2 (Vancouver, BC, Canada) (ASPLOS 2023). Association for Computing Machinery, New York, NY, USA, 340–353. doi:10.1145/3575693.3575711
[28] Jianqiao Mo, Alhad Daftardar, Barath GaneshKumar, Kaiyue Guo, Hong Wang, Benedikt Bunz, Siddharth Garg, and Brandon Reagen. 2026. When Proofs Meet Hardware: Comparing NTT and SumCheck in Zero-Knowledge Systems. arXiv:2606.16146 [cs.AR] https://arxiv.org/abs/2606.16146
[29] Jianqiao Mo, Karthik Garimella, Negar Neda, Austin Ebel, and Brandon Reagen. 2023. Towards fast and scalable private inference. In Proceedings of the 20th ACM International Conference on Computing Frontiers. 322–328.
[30] Jianqiao Mo, Jayanth Gopinath, and Brandon Reagen. 2023. Haac: A hardware-software co-design to accelerate garbled circuits. In Proceedings of the 50th Annual International Symposium on Computer Architecture. 1–13.
[31] Peter L. Montgomery. 1985. Modular multiplication without trial division. Math. Comp. 44 (1985), 519–521. https://api.semanticscholar.org/CorpusID:119574413
[32] Negar Neda, Austin Ebel, Benedict Reynwar, and Brandon Reagen. 2024. Ciflow: Dataflow Analysis and Optimization of Key Switching for Homomorphic Encryption. In 2024 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS). 61–72. doi:10.1109/ISPASS61541.2024.00016
[33] NVIDIA. 2026. CUDA C++ Programming Guide. NVIDIA Corporation. https://docs.nvidia.com/cuda/pdf/CUDA_C_Programming_Guide.pdf Release 13.2.
[34] Plonky3 Contributors. 2026. Plonky3: A Toolkit for Polynomial IOPs. https://github.com/Plonky3/Plonky3. Accessed: 2026-08-01.
[35] Pengcheng Qiu, Guiming Wu, Tingqiang Chu, Changzheng Wei, Runzhou Luo, Ying Yan, Wei Wang, and Hui Zhang. 2024. MSMAC: Accelerating Multi-Scalar Multiplication for Zero-Knowledge Proof. In Proceedings of the 61st ACM/IEEE Design Automation Conference (San Francisco, CA, USA) (DAC '24). Association for Computing Machinery, New York, NY, USA, Article 66, 6 pages. doi:10.1145/3649329.3655672
[36] RISC Zero. 2026. RISC Zero zkVM. https://github.com/risc0/risc0. Accessed: 2026-08-01.
[37] Nikola Samardizic, Simon Langowski, Srinivas Devadas, and Daniel Sanchez. 2024. Accelerating Zero-Knowledge Proofs Through Hardware-Algorithm Co-Design. In 2024 57th IEEE/ACM International Symposium on Microarchitecture (MICRO). 366–379. doi:10.1109/MICRO61859.2024.00035
[38] Saichand Samudrula, Jawen Wu, Chen Chen, Haoxuan Shan, Jonathan Ku, Yiran Chen, and Jeyavijayan Rajendran. 2024. Performance Analysis of Zero-Knowledge Proofs. In 2024 IEEE International Symposium on Workload Characterization (IISWC). 144–155. doi:10.1109/IISWC63097.2024.00022
[39] Srinath Setty. 2020. Spartan: Efficient and General-Purpose zkSNARKs Without Trusted Setup. In Advances in Cryptology – CRYPTO 2020: 40th Annual International Cryptology Conference, CRYPTO 2020, Santa Barbara, CA, USA, August 17–21, 2020, Proceedings, Part III (Santa Barbara, CA, USA). Springer-Verlag, Berlin, Heidelberg, 704–737. doi:10.1007/978-3-030-56877-1_25
[40] Deepraj Soni, Negar Neda, Naifeng Zhang, Benedict Reynwar, Homer Gamil, Benjamin Heyman, Mohammed Nabeel, Ahmad Al Badawi, Yuriy Polyakov,
Narang, Daftardar, and Reagen
Kellie Canida, Massoud Pedram, Michail Maniatakos, David Bruce Cousins, Franz Franchetti, Matthew French, Andrew Schmidt, and Brandon Reagen. 2023. RPU: The Ring Processing Unit. In 2023 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS). 272–282. doi:10.1109/ISPASS57527.2023.00034
[41] Justin Thaler. 2013. Time-Optimal Interactive Proofs for Circuit Evaluation. In Advances in Cryptology – CRYPTO 2013, Ran Canetti and Juan A. Garay (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 71–89.
[42] Philippe Tillet, H. T. Kung, and David Cox. 2019. Triton: an intermediate language and compiler for tiled neural network computations. In Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages (Phoenix, AZ, USA) (MAPL 2019). Association for Computing Machinery, New York, NY, USA, 10–19. doi:10.1145/3315508.3329973
[43] Tarunesh Verma, Yichao Yuan, Nishil Talati, and Todd Austin. 2025. ZKProphet: Understanding Performance of Zero-Knowledge Proofs on GPUs. In 2025 IEEE International Symposium on Workload Characterization (IISWC). 142–154. doi:10.1109/IISWC66894.2025.00021
[44] Riad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler, and Michael Walfish. 2018. Doubly-Efficient zkSNARKs Without Trusted Setup. In 2018 IEEE Symposium on Security and Privacy (SP). 926–943. doi:10.1109/SP.2018.00060
[45] Cheng Wang and Mingyu Gao. 2023. SAM: A Scalable Accelerator for Number Theoretic Transform Using Multi-Dimensional Decomposition. In 2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD). 1–9. doi:10.1109/ICCAD57390.2023.10323744
[46] Cheng Wang and Mingyu Gao. 2025. UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1 (Rotterdam, Netherlands) (ASPLOS '25). Association for Computing Machinery, New York, NY, USA, 1101–1117. doi:10.1145/3669940.3707228
[47] Zhengbang Yang, Lutan Zhao, Peinan Li, Han Liu, Kai Li, Boyan Zhao, Dan Meng, and Rui Hou. 2025. LegoZK: A Dynamically Reconfigurable Accelerator for Zero-Knowledge Proof. In 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA). IEEE Computer Society, Los Alamitos, CA, USA, 113–126. doi:10.1109/HPCA61900.2025.00020
[48] Naifeng Zhang and Franz Franchetti. 2025. Code Generation for Cryptographic Kernels using Multi-word Modular Arithmetic on GPU. In Proceedings of the 23rd ACM/IEEE International Symposium on Code Generation and Optimization (Las Vegas, NV, USA) (CGO '25). Association for Computing Machinery, New York, NY, USA, 476–492. doi:10.1145/3696443.3708948
[49] Naifeng Zhang, Sophia Fu, and Franz Franchetti. 2025. Towards Closing the Performance Gap for Cryptographic Kernels Between CPUs and Specialized Hardware. In Proceedings of the 58th IEEE/ACM International Symposium on Microarchitecture (MICRO '25). Association for Computing Machinery, New York, NY, USA, 1704–1718. doi:10.1145/3725843.3756120
[50] Ye Zhang, Shuo Wang, Xian Zhang, Jiangbin Dong, Xingzhong Mao, Fan Long, Cong Wang, Dong Zhou, Mingyu Gao, and Guangyu Sun. 2021. PipeZK: Accelerating Zero-Knowledge Proof with a Pipelined Architecture. In 2021 ACM/IEEE 48th Annual International Symposium on Computer Architecture (ISCA).
[51] Xudong Zhu, Haoqi He, Zhengbang Yang, Yi Deng, Lutan Zhao, and Rui Hou. 2024. Elastic MSM: A Fast, Elastic and Modular Preprocessing Technique for Multi-Scalar Multiplication Algorithm on GPUs. IACR Transactions on Cryptographic Hardware and Embedded Systems 2024, 4 (Sep. 2024), 258–284. doi:10.46586/tches.v2024.i4.258-284
A Experimental Platform
Table 5: Experimental platforms. The H100 is the primary platform; the A100-SXM4 system ran the full sweep, timing CUDA with CUDA events; the A100 PCIe system was used only for GPU-kernel measurements. All three run nvcc 12.9, PyTorch 2.12.0+cu130 (CUDA runtime 13.0), and Triton 3.7.0.
| H100 (primary) | A100 (full sweep) | A100 PCIe | |
|---|---|---|---|
| GPU | H100 PCIe | A100-SXM4-80GB | A100 80GB PCIe |
| Memory, SMs | 80 GB, 114 | 80 GB, 108 | 80 GB, 108 |
| Compute cap. | 9.0 | 8.0 | 8.0 |
| Driver | 570.148.08 | 580.126.20 | 565.57.01 |
| CPU | Xeon Plat. 8480+ | Xeon @ 2.20 GHz | Xeon Gold 6338 |
| Cores, memory | 26, 237 GB | 12, 167 GB | 12, 127 GB |
| OS | Ubuntu 22.04.5 | Ubuntu 24.04.4 | Ubuntu 22.04.5 |
Kernel driver; user-mode driver 580.126.20 (forward compatibility).