← News

Technology updates

NVIDIA cuBLAS Adds Ozaki-II and 2M Algorithms to Speed FP64 Simulations on Integer Tensor Cores

NVIDIA's CUDA Toolkit 13.4.2 cuBLAS introduces Ozaki-II and 2M algorithms that run double-precision GEMM on integer Tensor Cores at full FP64 accuracy, with NVIDIA reporting a 5.5x DGEMM speedup on VR NVL72.

Published: 2026-11-18 12:57 UTCUpdated: 2026-11-18 12:57 UTCSource date: 2026-11-13

NVIDIA published a developer blog on November 13 describing two new cuBLAS algorithms, Ozaki-II and 2M, shipped in CUDA Toolkit 13.4.2. The approach splits double-precision numbers into integer pieces, multiplies them on the GPU's integer Tensor Cores, and reassembles an exact result, so full FP64 accuracy is preserved instead of traded for speed. According to NVIDIA, the acceleration applies automatically to DGEMM and ZGEMM with no application code changes.

The two algorithms attack different bottlenecks. Ozaki-I breaks each large integer into 8-bit slices and multiplies slices of A against slices of B in a triangular pattern, so the number of Tensor Core GEMMs grows with the square of the slice count. Ozaki-II instead uses a big-integer multiplication scheme based on the Chinese Remainder Theorem: each quantized operand is reduced modulo a set of small pairwise-coprime integers, one integer GEMM is performed per modulus, and the exact product is reconstructed from the residues. The GEMM count therefore grows linearly with the number of moduli. NVIDIA says that at the accuracy needed to match FP64, Ozaki-I requires roughly twice as many Tensor Core GEMMs as Ozaki-II. The blog also notes that cuBLAS reuses the memory-parsimonious tiling first introduced for Ozaki-I, discarding each residue pair immediately after its GEMM to keep workspace manageable.

The 2M method targets complex matrix multiplication. Conventionally a complex GEMM is computed as four real GEMMs (4M); the 3M algorithm reduces that to three but can degrade numerical stability in floating point. NVIDIA argues that under Ozaki-II's exact integer arithmetic, additions, subtractions and products are all exact, so the choice of complex multiplication method no longer affects accuracy. A complex product can then be computed with two real GEMMs, making a ZGEMM cost roughly twice a real GEMM of the same size rather than four times. The full derivation is in the accompanying 2M paper.

On accuracy, cuBLAS's Automatic Dynamic Precision framework decides at runtime how many mantissa bits are needed to preserve FP64-equivalent accuracy. If that exceeds the library default or a user-supplied maximum, cuBLAS falls back to native FP64 MMA instructions. Users can also steer the strategy through cublasSetEmulationStrategy and manual mantissa-bit control.

All performance figures are NVIDIA's own measurements. DGEMM with Ozaki-II runs 5.5x faster than native FP64 on VR NVL72 and 3.9x faster on GB200, and is 2x faster than Ozaki-I on GB200. ZGEMM with the 2M algorithm achieves a 5x speedup over native complex FP64 on GB200. In applications, CCSD quantum chemistry calculations using Ozaki-II DGEMM gain 2x and 1.4x end-to-end on the two systems in full FP64, and 5x and 3.5x in a domain-specific mixed-precision mode. BerkeleyGW materials science simulations using 2M ZGEMM report 6.6x and 3.9x speedups. DGEMM throughput reaches up to 175, 147 and 37 TFLOPS on VR NVL72, GB200 and RTX PRO 6000 respectively; because the ratio of integer Tensor Core to native FP64 throughput varies across the product line, RTX PRO 6000 Blackwell Server Edition sees the largest gains, up to 23x.

The blog adds that Rubin GPUs introduce the TI16 numeric format, a 12-bit integer in sign-magnitude form with a range of -2047 to +2047, exposed through the tcgen05.mma instruction to further accelerate Ozaki computations. These results come from NVIDIA's own benchmarks and two application case studies; no independent third-party reproduction is presented, and real gains will vary with problem size, precision budget and hardware. The practical significance for HPC users is that existing cuBLAS calls can be tried for higher throughput without rewriting code, but precision-sensitive workloads should still rely on the ADP fallback and verify numerical results themselves.


Related articles