---
title: "Faster Scientific Simulations with New FP64 Algorithms in NVIDIA cuBLAS"
description: "NVIDIA cuBLAS in CUDA Toolkit 13.4.2 introduces two new algorithms, Ozaki-II and 2M, that deliver full double-precision (FP64) matrix multiplication results using faster integer Tensor Cores. Ozaki-II reduces the number of integer multiplications compared to the earlier Ozaki-I by leveraging the Chinese Remainder Theorem, while the 2M method cuts complex matrix multiplication from four real multiplications to two. The Automatic Dynamic Precision (ADP) framework automatically selects the best algorithm and integer width at runtime, falling back to native FP64 if needed. Performance gains include up to 5.5x faster DGEMM on NVIDIA VR NVL72 and 5x faster ZGEMM on NVIDIA GB200 over native FP64. Real-world applications like CCSD in quantum chemistry and BerkeleyGW in materials science achieve end-to-end speedups of up to 5x and 6.6x respectively."
---

# Faster Scientific Simulations with New FP64 Algorithms in NVIDIA cuBLAS

[NVIDIA](https://yomu.fyi/company/nvidia-developer-blog) · Cole Brower · Nov 13, 2026

**Type:** Announcement

## Summary

NVIDIA cuBLAS in CUDA Toolkit 13.4.2 introduces two new algorithms, Ozaki-II and 2M, that deliver full double-precision (FP64) matrix multiplication results using faster integer Tensor Cores. Ozaki-II reduces the number of integer multiplications compared to the earlier Ozaki-I by leveraging the Chinese Remainder Theorem, while the 2M method cuts complex matrix multiplication from four real multiplications to two. The Automatic Dynamic Precision (ADP) framework automatically selects the best algorithm and integer width at runtime, falling back to native FP64 if needed. Performance gains include up to 5.5x faster DGEMM on NVIDIA VR NVL72 and 5x faster ZGEMM on NVIDIA GB200 over native FP64. Real-world applications like CCSD in quantum chemistry and BerkeleyGW in materials science achieve end-to-end speedups of up to 5x and 6.6x respectively.

## Context

Many scientific simulations spend most of their time on high-precision dense matrix multiplications (DGEMM and ZGEMM). Lower-precision hardware has advanced rapidly, motivating algorithms that deliver full double-precision results on faster integer Tensor Cores.

## Approach / What changed

cuBLAS in CUDA Toolkit 13.4.2 uses the Ozaki-II and 2M algorithms to break double-precision numbers into integer pieces, multiply them on integer Tensor Cores, and reassemble the exact result. Ozaki-II reduces the number of integer multiplications compared to Ozaki-I by using the Chinese Remainder Theorem, and the 2M method cuts complex matrix multiplication from four real multiplications to two. The Automatic Dynamic Precision (ADP) framework automatically selects the best algorithm and integer width at runtime, falling back to native FP64 if needed.

## Takeaways

- cuBLAS in CUDA Toolkit 13.4.2 uses Ozaki-II and 2M algorithms to deliver full FP64 accuracy on integer Tensor Cores, with no application code changes.
- Ozaki-II reduces the number of Tensor Core GEMMs compared to Ozaki-I by using the Chinese Remainder Theorem, making the GEMM count linear in the number of moduli.
- The 2M method cuts complex ZGEMM from four real multiplications to two, achieving up to 5x speedup over native CFP64 on NVIDIA GB200.

## FAQ

### How does Ozaki-II reduce the number of GEMMs compared to Ozaki-I?

Ozaki-II uses the Chinese Remainder Theorem to reduce each quantized operand modulo a set of small pairwise-coprime integers, performs one integer GEMM per modulus, and reconstructs the exact product from the residues. This makes the GEMM count linear in the number of moduli, whereas Ozaki-I grows with the square of the slice count.

### How does the 2M algorithm cut complex matrix multiplication cost?

The 2M method computes a complex matrix multiplication using two real multiplications instead of four. It achieves this by a mathematical transformation that reduces the cost of a ZGEMM to roughly twice a real GEMM of the same size.

### What happens if the required mantissa bits exceed the maximum?

If at runtime the number of mantissa bits required to preserve FP64-equivalent accuracy exceeds the library default or a user-supplied maximum, cuBLAS falls back to a code path that uses native FP64 MMA instructions. This ensures applications can safely use cuBLAS without worrying about numerical accuracy.

**Tags:** [cuBLAS](https://yomu.fyi/topic/cublas), [CUDA](https://yomu.fyi/topic/cuda), [GPU](https://yomu.fyi/topic/gpu), [NVIDIA](https://yomu.fyi/topic/nvidia)

- Source: [NVIDIA](https://developer.nvidia.com/blog/faster-scientific-simulations-with-new-fp64-algorithms-in-nvidia-cublas)
- Source URL: https://developer.nvidia.com/blog/faster-scientific-simulations-with-new-fp64-algorithms-in-nvidia-cublas
- Ingested by Yomu: 2026-11-14T00:00:21.631Z

[Read original post](https://developer.nvidia.com/blog/faster-scientific-simulations-with-new-fp64-algorithms-in-nvidia-cublas)
