Controlling Floating-Point Determinism in NVIDIA CCCL
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
CUDA developers can now force bitwise-identical reduction results across different GPUs, at a 20-30% performance cost, instead of choosing between speed and reproducibility.
NVIDIA has updated CCCL 3.1, a toolkit for programming NVIDIA GPUs, so programmers can now control whether parallel calculations give the same answer every time. Floating-point arithmetic on computers is order-sensitive, so summing millions of numbers can give slightly different results on different runs or machines. The new settings offer three levels: fastest with no guarantee, same-answer-on-one-GPU by default, or identical answers across any GPU for a 20-30% speed penalty. This matters for scientific and financial computing where exact reproducibility is required.
NVIDIA's CCCL 3.1 lets teams using its CUB GPU algorithms choose their reproducibility guarantee for reductions: no guarantee (fastest), same results per GPU (the new default), or identical results across different GPUs. The strictest mode uses a Reproducible Floating-point Accumulator and costs 20-30% more runtime for large problems on H200 hardware. Organizations with audit, regulatory or cross-cluster reproducibility requirements gain a supported path without custom code. Support covers reductions only today; broader algorithm coverage is promised but undated.
CCCL 3.1 adds a single-phase CUB API accepting an execution environment with three determinism levels for cub::DeviceReduce: not_guaranteed (atomics, single kernel launch, fastest), run_to_run (default; fixed hierarchical tree via shuffles and shared memory), and gpu_to_gpu using a Reproducible Floating-point Accumulator with three exponent bins by default. RFA gives tighter error bounds than standard pairwise summation but adds 20-30% execution time for large sizes on an H200. Determinism control is limited to reductions; extension is tracked in a GitHub issue.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
NVIDIA CCCL 3.1 CUB CUDA Reproducible Floating-point Accumulator H200
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.