RiptideRiptide
Download Riptide SDKInstall Riptorch
Menu

Whitepapers

Measured results with named machines, versions and baselines, each checked against a float64 or exact reference, and each also a PDF.

Finance and mortgages

Regulated numbers, risk and market data, computed exactly and the same on every machine.

  • FeaturedRiptide · Mortgages

    Exact mortgage APRs and amortization, checked against 1.2 million loans

    On fixed-rate loans, every APR tool tested lands within 0.04 bp of the APR convention it implements; float64 is not the problem. The convention is: whether the odd first period is counted, which Regulation Z lets the creditor choose for most loans, moves the APR by up to 19 bp and changes its third decimal on 97% of loans. Where that choice is not available, the spreadsheet-style method is outside the 1/8-point tolerance on half of a constructed stress set. And float64 schedules with identical rounding rules end on a different total on 7.2% of loans.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Riptide · Mortgages

    Two servicing systems, one loan book, and a CECL allowance that is the same on every machine

    Two float64 servicing systems with the same rules break against exact integer cents on 61% and 77% of 5 million loans, almost all at half-cent ties in escrow, and disagree with each other on 42%; a careful integer-cents float64 system matches. The exact system gives the same cents on three CPUs, an A10G and an L4 and services the book in 0.062 s on an A10G, 6.0× faster than PyTorch float64 at its fastest. A CECL lifetime allowance of $2,397,660,299.96 is identical on every machine in 0.021 s; float64 is within $19.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Riptide · Mortgages

    One mortgage-backed-security price on every machine

    The same MBS price and OAS, to the last bit, on three NVIDIA GPUs and three CPUs. On an A10G and an L40S the exact price runs 9.3–9.6× faster than a custom float64 kernel and 6.2–6.6× faster than PyTorch float64 (torch.compile + CUDA graphs), with every baseline's error against exact published; on an H100 and a B200 the float64 kernel is faster. 56 million mortgages amortize in exact cents in 0.06–0.13 s on a GPU; dollar-based float64 schedules end on a different total for 12% of them, every case a half-cent tie, while a careful integer-cents float64 version matches.

    1 December 2026 · Version 2.2ReadPDFOpen in new tab

  • Riptorch · Quantitative finance

    Precision Is a Position: How Floating-Point Choices Move Portfolios, Backtests and Models

    A precision setting can rebalance a book, break a rolling risk number or change a trained model. Measured against float64 on five GPU models and three server CPUs, with synthetic market data only.

    30 November 2026 · Version 2.0ReadPDFOpen in new tab

  • Riptide · Quantitative finance

    Exact tick data: market data as small integers

    Plain Raya computed exact lead–lag correlations at 1,024 lags 2.7–4.1× faster than the same loop in plain C, and level with hand-written C intrinsics (0.94–1.10×), with the same bits on three CPUs. Tuned intrinsics were faster at short lag counts and for volume-at-price windows, and Raya's rolling sums ran at 0.17–0.51× of C. Every float method measured almost never returned the correctly rounded rolling variance.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Riptide · Quantitative finance

    Exact order books for every US equity symbol, on a GPU

    Every symbol's full-depth book for a Nasdaq trading day (347 million events) rebuilt in 0.63 s on one NVIDIA A100, 10× a 64-thread CPU, with the same 193 book checksums on every run; exact VWAP, rolling variance and lead–lag on every trade, against cuDF, PyTorch, pandas and polars.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Riptorch · Random numbers

    Reproducible random numbers

    One seed, the same random numbers on every CPU and GPU, at any thread count.

    30 November 2026 · Version 1ReadPDFOpen in new tab

Request access

Some of our research is shared on request. Tell us what you work on and we will send it.

AI, GPUs and training

Training, inference and search that give one answer on every GPU and CPU.

  • Riptide · Exact training

    Training that gives the same weights on every machine

    Same seed, same data, five machines, one SHA-256 of the final weights, at stock accuracy. Stock PyTorch gives 6–7 different results. Plus a map of every transcendental in a training step, what replacing each one costs, and the honest speed result.

    1 December 2026 · Version 1.1ReadPDFOpen in new tab

  • Riptide · Reinforcement learning

    Reinforcement learning, exactly: one set of weights on every machine

    PPO for market making that ends with the same final weights, to the bit, on 7 devices (an fp32 learner on the same environment gave 6 results, JAX 5); every stock stack's rollouts differed between GPUs by update 2, even JAX with deterministic XLA ops. 67k–147k steps/s against JAX's 5.8M–26.8M.

    2 December 2026 · Version 1.1ReadPDFOpen in new tab

  • Riptide · Exact arithmetic on GPUs

    Exact numbers on current GPUs

    Float64 matrix products correctly rounded on every sampled output, 12.9× faster than cuBLAS float64 on an RTX 4090 and 1.5× on a B200, but 0.35–0.56× on the H100 and H200. Polynomial products 6.6–9.2× faster than FLINT 3.6.0 on a 128-core server. One set of trained weights on four GPUs.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Riptide · Heterogeneous computing

    CPU and GPU together, exactly

    Routing a mixed batch of exact polynomial products between FLINT 3.6.0 on the CPU and the GPU was 9.4× and 14.4× faster than the best FLINT schedule we measured on all cores, at least 4.9× faster than any FLINT-only schedule could be, and 2.7× and 2.8× faster than sending everything to the GPU (10.7× on a third, AWS machine). Splitting one stream of work gained only 1.02–1.41×, and on the H100 machine the CPU alone won the light work.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Riptide · Exact integers on GPUs

    Exact int8 CNNs on GPU tensor cores

    One SHA-256 of all ResNet-18 and MobileNetV2 outputs on three GPUs and three CPUs. On an RTX 4090 at batch 256 the exact engine runs ResNet-18 at 0.92× TensorRT int8 (MobileNetV2 0.73×) and both models at 1.10–1.17× TensorRT fp16; on a B200, TensorRT's fp16 engine beats its own int8 engine. At batch 1 and 8 TensorRT is still 1.2–5.3× faster in the reported runs.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Riptorch · Vector search

    Exact vector search on GPUs and CPUs

    Brute-force top-10 search that returns the float64 ranking on every query, measured against PyTorch, FAISS and cuVS on six NVIDIA GPUs and four CPUs.

    30 November 2026 · Version 1ReadPDFOpen in new tab

  • Riptorch · Embeddings and retrieval

    How embedding pipelines change the answer

    How often common precision and quantisation choices change the top-10 a retrieval system returns, measured on BEIR FiQA and SciFact against a float64 reference, and a pipeline that keeps the ranking.

    30 November 2026 · Version 1ReadPDFOpen in new tab

Compilers, kernels and performance

Plain code that runs faster than C, exact signal processing, and kernels on AMD Instinct.

  • Raya · Compiler

    Plain Raya integer loops, faster than C

    21 ordinary integer loops on 5 server CPUs: plain Raya is faster than the faster of gcc and clang at -O3 -march=native in 105 of 105 measurements, 1.27× to 42.5× (29.8× against C's fastest form of the largest matrix product), with the same results bit for bit. Geometric mean per CPU: Graviton3 4.9×, Graviton4 5.0×, Sapphire Rapids 7.9×, Ice Lake 4.5×, Zen 4 4.4×. Plus where the win comes from, and, new in version 1.2, the compiler writing the vector code itself for dot and polynomial products: up to 5.8× faster again on small nests.

    1 December 2026 · Version 1.4 (updated 1 December 2026: compiler-generated code; limitations retitled; per-CPU results named)ReadPDFOpen in new tab

  • Riptide · Exact integers

    Exact integer filters for images, audio and quantized CNNs

    Box filters 4.9–6.9× faster than OpenCV on every one of 105 CPU cases, audio filters up to 26.5× faster, and int8 CNNs that give one SHA-256 of the outputs on five machines, all exact. Plus the honest losses: quantized CNNs are still far behind fbgemm and TensorRT.

    1 December 2026 · Version 1.2ReadPDFOpen in new tab

  • Riptide · Exact integers on GPUs

    Exact image and audio filters on GPUs

    On an 8K frame the exact box filter takes 0.17–0.54 ms at every kernel size, 4.3–7.4× faster than the fastest stock path from 7 × 7; the exact int8 2-D filter is 2.6–13× faster than cuDNN, NPP and OpenCV CUDA from 7 × 7, and the exact audio FIR 2.5–38× faster than float64 on the A10G and L4 (1.2–10× on the B200). Every exact output identical on an A10G, L4 and B200. NPP's 8-bit box (fastest at 3 × 3 and 5 × 5) and Gaussian (3 × 3 to 7 × 7) are wrong on 44–62% of pixels.

    1 December 2026 · Version 1ReadPDFOpen in new tab

  • Raya · Exact algebra

    Multinumbers, measured

    The literal construction would take about 6 days for a 2,048-term product; the packed multinumber does it in 0.75 s, exact. FLINT is still 81× faster. Plus three applications run end to end with exact answers, and where the 64-bit layout runs out.

    1 December 2026 · Version 1.1ReadPDFOpen in new tab

  • AMD Instinct · GPU kernels

    Riptide kernels on AMD Instinct MI350X

    Attention, small-model generation and kernel launch on one MI350X, against PyTorch 2.15 for ROCm, AITER, Triton and Hugging Face, with 95% confidence intervals and float64 checks, including where AMD's kernels are still faster.

    30 November 2026 · Version 1ReadPDFOpen in new tab

  • AMD Instinct · Correctness case study

    A silent gradient bug in AMD's attention kernels

    AITER's deterministic attention backward on MI350X returned a wrong query gradient once one buffer passed 4 GiB. How it was found, measured against float64, traced to 32-bit buffer offsets in Composable Kernel, and the fix proposed upstream (open, not merged).

    30 November 2026 · Version 1ReadPDFOpen in new tab

Exact maths and science

Geometry with whole numbers and their ratios: proteins, DNA, the solar system, quantum states.

Working with Riptide

Every engagement starts with 4 weeks inside your systems, to understand them fully. Only then does Riptide deploy its software, and every result is measured the way these papers measure.

How these papers measure

  • Baselines are the fastest correct path of the stock software on the same machine, in the same session, named exactly with its version.
  • A fast wrong answer does not count. Results are checked against a float64 reference before their timings are used.
  • Times are medians of repeated runs after a warm-up. Where a paper reports 95% confidence intervals, it says how they were computed.
  • Every benchmark paper has a Limitations and next steps section.