RiptideRiptide
Download Riptide SDKInstall Riptorch
Menu
Whitepapers · Riptide · Heterogeneous computing

CPU and GPU together, exactly

A GPU is fast only once the data is on it. This paper measures, for exact integer work whose data starts in host memory, when to use the CPU, when to use the GPU, and when to use both at once, with every output checked against an exact reference.

Version
1.1 (updated 1 December 2026: limitations section retitled)
Date
1 December 2026
Author
Samario Torres, Riptide
Software
PyTorch 2.9.1+cu128 (its int8 matrix product and top-k are used on the GPU for the large matrix product and embedding search); FLINT 3.6.0 (built from source); NVIDIA driver 595.112.07 (CUDA 13.2) on the RunPod machines; on the AWS A10G machine, PyTorch 2.15.0+cu132 and NVIDIA driver 620.70.06 (CUDA 13.5); Riptide's CPU kernels and its GPU kernels for the sum of squares, FIR filter, matrix–vector product and polynomial products (not published)
Download PDFOpen in new tabriptidecompute.com/whitepapers/cpu-and-gpu-together

Abstract

On 1 December 2026 Riptide measured exact integer workloads on rented machines: on RunPod, an RTX 4090 with 13 usable cores of an AMD EPYC and an H100 SXM with 22–23 usable cores of an Intel Xeon; and, for the routing experiment only, an AWS A10G with 4 vCPUs. The data started in host memory every time, and every output was checked against an exact reference.

Routing a mixed batch is the biggest win. 392 exact polynomial products of very different sizes were each sent to FLINT 3.6.0 on a CPU core or to the GPU, by predicted time, with both working at once. Against the best of eight FLINT-only schedules on all cores (including longest-first ordering and FLINT's own multithreading for the largest products), the batch finished 9.4× (RTX 4090 machine) and 14.4× (H100 machine) faster. Even a perfectly balanced FLINT schedule could not finish in less than the predicted single-thread total divided by the cores, and routing beat that floor by 5.8× and 4.9×. It was also 2.7× and 2.8× faster than running everything on the GPU. On an AWS A10G machine with only 4 vCPUs the same experiment gave 10.7× over the best FLINT schedule, 8.0× over the floor and 1.6× over the GPU alone. Every GPU product matched FLINT term by term.

Splitting one stream of work gains little. For embedding search, an FIR filter, a sum of squares and int8 matrix–vector products, a CPU + GPU split was 1.02–1.41× faster than the faster single device on the RTX 4090 machine. On the H100 machine it was 1.11× and 1.22× for the two heavier workloads, and the CPU alone won the three light ones (a split ran at 0.88–0.99×).

Data already on the GPU is in another league. The same exact pass ran 7.7–61× faster with the data resident in GPU memory than when it was streamed from host memory. The copy was 88–98% of the GPU's time.

One large exact int8 matrix product belongs on the GPU. Copies included, the GPU was 8.4–123× faster than the CPU's best exact method, and giving the CPU a share helped by at most 3%.

What this lets you do

  • Get a first estimate of where exact work should run from two numbers. Compare the CPU's memory read speed with the host-to-GPU copy speed, and the work done per byte; the guide below turns that into a rule of thumb, measured on two machine pairs only.
  • Finish a mixed batch of exact algebra about 9–14× sooner than the best FLINT schedule we found on 13–23 CPU cores (at least 4.9× sooner than any FLINT-only schedule could be, by its predicted lower bound), by sending the large products to the GPU and the many small ones to CPU cores at the same time. This is one batch shape; the gain depends on how much of the work sits in a few large products.
  • Avoid splits that do not pay. For light streaming work on a machine whose CPU memory is much faster than its PCIe link, the CPU alone is the fastest option, and a GPU only adds copies.

How CPU and GPU should split the work

Table 1. The guide, from the measurements below. "Light" work does a few operations per byte read; "heavy" work does many. The memory-speed thresholds come from two machine pairs, and the measured "CPU reading its memory" figures are not peaks: on both machines some workloads read faster (35 vs 29 GB/s on the RTX 4090 machine, 152 vs 122 GB/s for the H100 machine's one-vector GEMV).
SituationDo thisMeasured
The data can stay in GPU memory between passesKeep it there7.7–61× faster than streaming it in each time
Light work streamed from host memory, CPU memory much faster than PCIe (122 vs 49 GB/s)CPU alonea split ran at 0.88–0.99×
Light work streamed from host memory, CPU memory close to PCIe (29 vs 20 GB/s)Split, CPU takes 44–69%1.18–1.41×
Heavy work per byte streamed from host memory (FIR, embedding search)GPU, pipelined; CPU takes a small share1.02–1.22×, CPU share 3–32%
A batch of independent jobs of very different sizesRoute each job by predicted time, both at once9.4–14.4× vs the best FLINT schedule on all cores; 4.9–8.0× vs any FLINT-only schedule; 1.6–2.8× vs all on the GPU (three machines)
One very large dense productGPU8.4–123× the CPU's best of three exact methods tried; a CPU share gains at most 3%
Copies between host and GPUUse pinned (page-locked) host memorypinned copies 1.8–5.7× faster than pageable
Selection after scoring (top-10)Do it on the GPUtop-10 on the CPU made the search 2.6–3.2× slower

Method

This section describes each method at the level of the algorithm. The implementations (C++ and CUDA kernels called from PyTorch, and a small C driver around FLINT) are not published.

Streaming with a pipeline

The GPU path keeps three buffer slots in pinned host memory and two CUDA streams: host-to-GPU copies run on their own stream, and the computation and the GPU-to-host copies of results run on the compute stream. While chunk is copied to the GPU, chunk is computed, and the CPU finishes chunk (for example merging partial results). This hides the compute behind the copy, so a pipelined pass costs roughly the larger of the copy time and the compute time rather than their sum. The overlap of copies and kernels on separate streams is standard CUDA practice; it is measured here against one large copy followed by one computation.

Splitting one stream between CPU and GPU

The data is cut into a CPU part and a GPU part, both processed at once: the CPU on its usable cores, the GPU through the pipeline above. The CPU share is first predicted from the two devices' measured throughputs on the same workload, , and then five shares from 0.25× to 1.25× of that prediction are run (for embedding search and the matrix–vector product the shares are rounded to whole chunks, so the tried range can differ slightly, for example 0.2–1.23× on the H100 machine); the fastest is reported. The split can never reach the sum of the two speeds: the GPU's copy engine and the CPU's share both read the same host memory.

Routing a batch by predicted time

A separate calibration set (27 products with other random seeds, a grid of sizes for each family) measures FLINT's single-thread time and the GPU's time for each of its exact methods. It ran once per machine (10.9 s on the RTX 4090 machine, 9.1 s on the H100 machine, 10.1 s on the A10G machine), is not counted in the batch times below, and is reused for every later batch. For each product in the batch, both times are predicted by interpolating the calibration grid on a log–log scale, and the faster GPU method is chosen. Products are then placed longest-predicted-first, each on the side that would finish it soonest: one of the CPU's worker threads (all usable cores but one, which drives the GPU) or the GPU queue. This is the classic longest-processing-time rule (Graham) applied to two kinds of processor, close to the list schedulers in StarPU and HEFT. Because FLINT threads slow each other down when they share memory bandwidth, plans are also made with the CPU predicted 1.5× and 2.5× slower. The factor is chosen on a held-out batch (same mix of sizes, other random operands; the two Fateman products are fixed, so they repeat in every batch, and the full-box 65,536-term product keeps its exponents, with only its coefficients changing): 1.5 on all three machines. The test batch is then run with that factor. The CPU part of the routed run gets the same longest-first and threaded-largest options as the FLINT baseline (below), and the faster is used; it was the plain longest-first order on all three machines.

Fair FLINT baselines

The FLINT-only time is the best of eight schedules on all usable cores: products in parallel, one thread each, in batch order or longest-predicted-first; all products one at a time with FLINT's own multithreading; and the 1, 2, 3, 4 or 6 largest products one at a time on FLINT's multithreading, followed by the rest in parallel, longest-first. The best was the 3 largest products threaded, then the rest longest-first, on the two RunPod machines, and plain longest-first on the 4-vCPU A10G machine. A predicted lower bound for any FLINT-only schedule is the predicted single-thread total of the batch divided by the usable cores (9.5–10.4 s of single-thread work on the RunPod machines; the three largest products are about half of it), which assumes perfect balance and no slowdown from sharing memory.

The GPU's exact polynomial methods are the two from the companion GPU paper: for sparse products, every pair of terms is formed, the monomials are sorted and equal ones are added; for dense products, the multivariate product becomes one univariate product by Kronecker substitution, computed with number-theoretic transforms modulo several word-size primes and recombined by the Chinese remainder theorem, after a bound on the coefficients fixes how many primes are needed. Operands start in host memory and results return there.

One big product split by rows

For the exact int8 matrix product , the GPU pipelines 1,024-row tiles of through PyTorch's int8 matrix product, and the CPU computes the last rows of with the fastest of three exact methods, chosen by a 256-row calibration: float32 when every sum is exact in float32 (; the test data are drawn from , and full int8 including would need ), otherwise float64, or PyTorch's CPU int8 product where it is faster. Three CPU shares are run and the fastest is reported (two for 8,192³ on the RTX 4090 machine, where the smallest share rounded to zero rows).

Keeping every answer exact

Each split cuts the work into disjoint pieces, so the pieces are joined without any arithmetic: rows of a matrix product, products of a batch, and chunks of a signal (each FIR chunk also reads the samples just before it that its taps reach). All sums are integer sums, so their order does not matter. For embedding search, the GPU scores with PyTorch's int8 matrix product and selects with its top-k; each part returns its top-10 exact integer scores and indices, the parts are merged, and every returned index is rescored exactly. The checks differ by workload: the top-10 values equal the reference; the sum of squares equals an int64 sum; for the FIR filter, the matrix–vector product and the large matrix product, the reference is the GPU's own output, every mode's output equals it, and it is spot-checked against an int64 computation (2,000 FIR outputs, 64 matrix–vector rows, a sample of matrix entries); every GPU polynomial product equals FLINT's term by term (every term's exponents and exact coefficient), and the CPU products are FLINT's own, checked against a reference FLINT run by term count and a checksum modulo .

CPU kernels

On the EPYC, the CPU int8 paths widen to 16-bit and use multiply-add instructions (AVX2); on the Xeon they use the AVX-512 VNNI dot-product instructions with a correction for the unsigned operand, and PyTorch's CPU int8 product (oneDNN, which uses AMX) where that is faster.

Setup

Machines

Table 2. The pods, RunPod secure cloud, 1 December 2026. "Usable cores" is the container's CPU quota, not the host's thread count. Experiments 1 and 3 ran on the first pair; the routing experiment was rerun with fair FLINT baselines on a second pair, whose speeds were measured in the same run, and on an AWS g5.xlarge (NVIDIA A10G, 4 vCPUs of an AMD EPYC 7R32, PCIe gen4; pinned copies 13.5 / 13.2 GB/s, CPU memory read 21.3 GB/s; PyTorch 2.15.0+cu132, driver 620.70.06 / CUDA 13.5, FLINT 3.6.0).
RTX 4090 machineH100 machineRTX 4090 machine (routing)H100 machine (routing)
GPUNVIDIA GeForce RTX 4090NVIDIA H100 80GB HBM3 (SXM)NVIDIA GeForce RTX 4090NVIDIA H100 80GB HBM3 (SXM)
CPUAMD EPYC 7282 (host 64 threads)Intel Xeon Platinum 8470 (host 208 threads, AMX)AMD EPYC 7452 (host 128 threads)Intel Xeon Platinum 8480+ (host 224 threads, AMX)
Usable cores13221323
PCIegen4 x16gen5 x16gen4 x16gen5 x16
Host → GPU, pinned19.7 GB/s49.3 GB/s24.1 GB/s55.3 GB/s
GPU → host, pinned16.9 GB/s55.3 GB/s21.9 GB/s53.2 GB/s
Host → GPU, pageable9.0 GB/s8.6 GB/s13.2 GB/s8.6 GB/s
CPU reading its memory, all usable cores29.0 GB/s122.2 GB/s75.0 GB/s95.5 GB/s
SoftwarePyTorch 2.9.1+cu128, driver 595.112.07 / CUDA 13.2, FLINT 3.6.0samesamesame (the A10G machine: see the caption)

Workloads

  • Embedding search: 7,864,320 int8 vectors of 384 dimensions (3.0 GB), 32 queries, exact top-10 by integer dot product.
  • Sum of squares: int16 samples (1 GiB), summed exactly.
  • FIR filter: int16 samples (256 MiB) through 32 int8 taps, 32-bit output (512 MiB).
  • int8 matrix–vector product: a 32,768 × 16,384 int8 matrix (512 MiB) times 1 or 8 vectors.
  • Polynomial batch: 392 exact products: 315 with 4 variables (300 of them with 4 to 64 terms in a box of possible monomials, so sparse, plus 15 from 2,048 terms up to the full 65,536-term box), 75 sparse with 8 variables (128 to 4,096 terms) and 2 of Fateman's benchmark, 7.0 billion term pairs in all. The held-out batch has the same mix with other random operands (the two Fateman products repeat exactly, and the full-box product keeps its exponents; only coefficients change).
  • Large int8 matrix products: 16,384 × 1,024 × 16,384 and 8,192 × 8,192 × 8,192, inputs and int32 output in pinned host memory.

Every time is the best of 2–3 runs, except the matrix–vector product with the data already on the GPU (best of 10).

Results

Streaming one workload from host memory

Grouped bars per workload of CPU plus GPU speed over the faster single device. RTX 4090 machine: embedding search 1.02, sum of squares 1.18, FIR 1.07, GEMV 1 vector 1.21, GEMV 8 vectors 1.41. H100 machine: 1.11, 0.88, 1.22, 0.92, 0.99
Figure 1. CPU + GPU split against the faster single device, data in host memory.
Table 3. RTX 4090 machine. Time per pass; "split" shows the CPU's share; the last column is the speed of the split over the faster single device. All outputs exact.
WorkloadCPU aloneGPU, one copyGPU, pipelinedCPU + GPU splitSplit vs best singleGPU, data already on it
Embedding search950.1 ms164.6 ms157.1 ms154.5 ms (3%)1.02×9.93 ms
Sum of squares31.1 ms55.8 ms54.5 ms26.4 ms (64%)1.18×1.15 ms
FIR filter57.9 ms46.1 ms42.1 ms39.3 ms (32%)1.07×0.99 ms
int8 GEMV, 1 vector21.4 ms29.8 ms28.2 ms17.6 ms (69%)1.21×0.57 ms
int8 GEMV, 8 vectors31.1 ms29.7 ms29.3 ms20.8 ms (44%)1.41×0.58 ms
Table 4. H100 machine, same layout.
WorkloadCPU aloneGPU, one copyGPU, pipelinedCPU + GPU splitSplit vs best singleGPU, data already on it
Embedding search326.1 ms70.4 ms63.5 ms57.1 ms (13%)1.11×8.24 ms
Sum of squares11.0 ms21.5 ms21.3 ms12.4 ms (66%)0.88×0.35 ms
FIR filter18.3 ms15.8 ms13.5 ms11.0 ms (32%)1.22×0.86 ms
int8 GEMV, 1 vector3.5 ms10.1 ms10.0 ms3.8 ms (69%)0.92×0.18 ms
int8 GEMV, 8 vectors4.8 ms10.3 ms10.0 ms4.8 ms (62%)0.99×0.30 ms

The pipeline alone beat one large copy by 1–17%, most for the FIR filter (9% and 17%), which does the most work per byte. On the H100 machine the CPU reads its own memory at 122 GB/s, more than twice the 49 GB/s link to the GPU, so for the light workloads the CPU alone is fastest; on the RTX 4090 machine the two speeds are close (29 and 20 GB/s), and splitting adds bandwidth.

Keep the data on the GPU

Grouped bars per workload of how much faster the GPU pass is with data already in GPU memory than streamed from host memory: RTX 4090 machine 16, 47, 43, 49 and 50 times; H100 machine 7.7, 61, 16, 55 and 33 times
Figure 2. The same exact pass with the data resident on the GPU, against streaming it from host memory (the faster of one copy and the pipeline).

With the data already in GPU memory, the same pass was 7.7–61× faster than streaming it from host memory, and the copy accounted for 88–98% of the GPU's one-copy time. Work that reuses its data across many passes should keep it on the GPU; work that touches each byte once pays for the copy every time.

Routing a mixed batch of polynomial products

Bars of seconds for the 392-product test batch. RTX 4090 machine: best FLINT schedule 1.30, predicted lower bound for any FLINT-only schedule 0.80, all on the GPU 0.370, routed 0.138. H100 machine: 1.20, 0.41, 0.236, 0.0839. A10G machine on AWS: 3.33, 2.48, 0.495, 0.309
Figure 3. A mixed batch of 392 exact polynomial products: the best FLINT 3.6.0 schedule on all usable cores, the lower bound for any FLINT-only schedule, everything on the GPU, and routed between the two.
Table 5. The polynomial test batch on the routing machines. The slow-down factor (1.5) was chosen on the held-out batch. Every GPU product identical to FLINT's term by term.
RTX 4090 machine (13 cores)H100 machine (23 cores)A10G machine, AWS (4 vCPUs)
FLINT, products in parallel, batch order1.993 s1.716 s3.513 s
FLINT, products in parallel, longest first1.896 s1.671 s3.325 s (best)
FLINT, one product at a time, FLINT's threads3.063 s2.812 s4.155 s
FLINT, best schedule (RunPod: 3 largest threaded, then the rest longest first)1.304 s1.204 s3.325 s
Predicted lower bound for any FLINT-only schedule (perfect balance)0.802 s0.413 s2.484 s
Everything on the GPU0.370 s0.236 s0.495 s
Routed, CPU and GPU at once0.138 s0.0839 s0.309 s
Routed vs the best FLINT schedule9.4×14.4×10.7×
Routed vs the predicted lower bound for FLINT5.8×4.9×8.0×
Routed vs everything on the GPU2.7×2.8×1.6×
Products sent to the GPU30 of 39220 of 39293 of 392

The router sent the large products to the GPU and kept most of the hundreds of small 4-variable products on CPU cores, where FLINT finishes each in microseconds. On the H100 machine the GPU got the Fateman product, the sparse 8-variable products of 1,024 to 4,096 terms and an 8,192-term 4-variable product; on the RTX 4090 machine, with fewer and slower CPU cores, it also took sparse 8-variable products from 128 terms, a 2,048-term product and a few 44–63-term 4-variable products; on the 4-vCPU A10G machine it took 93. On the routing machines a GPU product costs at least 0.31 ms (H100) to 0.51 ms (RTX 4090 and A10G) even when it is tiny, for allocation, copies and launches. Times are the FLINT driver's clock (a monotonic clock around the FLINT calls) for the CPU side and wall time with operands starting and results ending in host memory for the GPU side; the routed time is the later of the two parts. The harness's text output of results is excluded on both sides alike, and so is the one-time calibration (9.1–10.9 s), which the routed run's savings repay after about 9, 8 and 3 batches (RTX 4090, H100 and A10G machines). With the factor chosen on the test batch itself instead of the held-out one, the H100 machine would have reported 0.070 s (17.2×); the paper uses the held-out choice.

An earlier run of this experiment, on the first pod pair, compared routing with FLINT running the products in parallel in batch order and reported 14.5× and 20.0×. That baseline left most cores idle while the three largest products finished, so it overstated the gain; the schedules above replace it.

One large exact int8 matrix product

Table 6. Inputs and the int32 output in pinned host memory. CPU method in brackets. All outputs exact.
MachineShape ()CPU aloneGPU (best of one copy, pipelined)Best CPU + GPU (CPU share)GPU, data already on it
RTX 409016,384 × 1,024 × 16,3842,125 ms (float32)51.7 ms54.2 ms (1.2%)3.95 ms
RTX 40908,192 × 8,192 × 8,1923,041 ms (float64)24.7 ms183.5 ms (0.8%)6.55 ms
H10016,384 × 1,024 × 16,384216 ms (PyTorch int8)24.5 ms24.2 ms (10.5%)4.79 ms
H1008,192 × 8,192 × 8,192130 ms (PyTorch int8)15.5 ms15.0 ms (10.2%)8.75 ms

The GPU was 8.4–123× faster than the best of the three exact CPU methods tried. A CPU share was at best 3% faster than the GPU alone (H100 machine, where PyTorch's CPU int8 product uses AMX), and on the RTX 4090 machine it made the product slower.

What is known and what is new

Overlapping copies with computation on separate streams, splitting data-parallel work between CPU and GPU by measured throughput (Qilin), and scheduling tasks on heterogeneous processors by predicted cost (HEFT, StarPU) are all established. Gregg and Hazelwood showed in 2011 that CPU-versus-GPU comparisons are meaningless without counting where the data starts. The longest-processing-time rule is Graham's. The GPU polynomial methods come from published work credited in the companion GPU paper.

What this paper adds is a measurement on current hardware for exact integer work, with every output verified: when a split pays and when the CPU alone wins, roughly decided by the ratio of CPU memory speed to link speed; and routing exact polynomial products between FLINT 3.6.0 and a GPU, which beat the best FLINT schedule we found on all cores, the lower bound for any FLINT-only schedule, and the GPU alone.

Limitations and next steps

The limits of these results, each with its cause and, where one is planned, the next step.

  • Splitting one stream gains little. 1.02–1.41× at best. Cause: the GPU's copies and the CPU's share read the same host memory, so the two speeds never add up.
  • The CPU alone wins light streaming work on the H100 machine (a split at 0.88–0.99×). Cause: its CPU reads memory at 122 GB/s, more than twice the 49 GB/s link to the GPU.
  • The GPU takes only 20–30 of the 392 products on the RunPod machines (93 on the 4-vCPU A10G machine). Cause: each GPU product costs 0.31–0.51 ms even when tiny (allocation, copies, launches). A GPU path that takes many small products in one launch has not been built yet.
  • Routing needs a calibration first. 9–11 s per machine, about 3–9 batches' worth of savings. Cause: the router predicts each product's time from measured single-thread and GPU times; a model that needs fewer measurements has not been built.
  • Splitting one large matrix product does not pay. At best 3%, and slower on the RTX 4090 machine. Cause: on that machine the CPU's exact method converts B to floating point first, which takes longer than the whole GPU pipeline.
  • Unified-memory machines were not tested. Cause: none was rented for this lab. RunPod listed no Grace Hopper (GH200) machine when checked, EC2's shared-memory Grace Blackwell systems (P6e-GB200) were not used, and an EC2 Mac is billed for a 24-hour minimum.
  • The CPUs are container shares of large hosts, not whole servers (13–23 of 64–224 host threads on RunPod; 4 vCPUs on the A10G machine). Cause: these were rented GPU machines; a full CPU would move every comparison toward the CPU. Other tenants also changed the first RTX 4090 host's speeds between two passes 20 minutes apart (CPU memory 52 → 29 GB/s): times moved by up to 2.1× (the one-vector matrix–vector product on the CPU, 9.95 → 21.4 ms), and the fastest option changed for the matrix–vector product (CPU alone for one vector and the GPU pipeline for eight in the first pass, a split for both in the second; the first pass also used slower scalar CPU int8 kernels). The tables use the second pass.
  • Two machine pairs for streaming and splitting, three machines for routing, one day. This is a scope limit rather than a loss. Cause: the lab measured only these machines (AWS H100 and L40S machines had no capacity when tried); more are needed before the guide's thresholds can be stated generally.

Reproduction notes

  • Software. Riptide's CPU and GPU kernels and the router are not published; the methods are described above. Riptorch 0.4.0 is on the Riptorch page, and evaluation builds are available through Request an evaluation. FLINT 3.6.0 was built from source on each machine.
  • Records. One record per measurement, with a machine record and GPU power log for each pod. Evaluation partners can have the raw files on request.
  • Cost. $1.98 of rented machine time on RunPod for the first pod pair, about $3.40 on RunPod and $0.78 on AWS for the routing rerun; every machine was terminated after its run.
  • Companion paper. The exact GPU polynomial products and matrix products used here are measured on their own in Exact numbers on current GPUs.

References

  • R. L. Graham, Bounds on multiprocessing timing anomalies, SIAM Journal on Applied Mathematics 17(2) (1969), pp. 416–429. doi:10.1137/0117039
  • H. Topcuoglu, S. Hariri and M.-Y. Wu, Performance-effective and low-complexity task scheduling for heterogeneous computing, IEEE Transactions on Parallel and Distributed Systems 13(3) (2002), pp. 260–274. doi:10.1109/71.993206
  • C.-K. Luk, S. Hong and H. Kim, Qilin: exploiting parallelism on heterogeneous multiprocessors with adaptive mapping, MICRO-42 (2009), pp. 45–55. doi:10.1145/1669112.1669121
  • C. Augonnet, S. Thibault, R. Namyst and P.-A. Wacrenier, StarPU: a unified platform for task scheduling on heterogeneous multicore architectures, Concurrency and Computation: Practice and Experience 23(2) (2011), pp. 187–198. doi:10.1002/cpe.1631
  • C. Gregg and K. Hazelwood, Where is the data? Why you cannot debate CPU vs. GPU performance without the answer, IEEE ISPASS 2011, pp. 134–144. doi:10.1109/ISPASS.2011.5762730
  • The FLINT team, FLINT: Fast Library for Number Theory, version 3.6.0, flintlib.org.
  • NVIDIA, CUDA C++ Programming Guide: asynchronous concurrent execution and streams.

Date and version

Version 1.1, 1 December 2026. Measurements from 1 December 2026. Includes a Method section at the level of the algorithm. Updated 1 December 2026: limitations section retitled.

Working with Riptide

Riptide works with a small number of teams. Each engagement starts with 4 weeks inside your systems, learning how your models, data and infrastructure work. Only then does Riptide apply its software to them. Contact samario@riptidecompute.com or riptidecompute.com/evaluate.