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.

Read this as

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