AI2 min read0 comments

CUDA 13.4.2 brings Ozaki-II and 2M to cuBLAS for double precision

NVIDIA says both methods keep full FP64 accuracy while running on integer Tensor Cores; Ozaki-II scales linearly with moduli count.

AI and Altcoins
Published Updated
NVIDIA · CUBLAS: FP64

Key takeaways

  • CUDA Toolkit 13.4.2 adds the Ozaki-II and 2M algorithms to NVIDIA's cuBLAS library.
  • NVIDIA says both speed up double-precision matrix multiplication while keeping full FP64 accuracy.
  • Ozaki-II scales linearly with the number of moduli, against quadratic scaling for Ozaki-I.
  • The 2M method cuts real multiplications in complex matrix work from four to two.
  • TI16 on Rubin GPUs is said to accelerate Ozaki-I and Ozaki-II on compute capability 10.7 hardware.

What changed in CUDA Toolkit 13.4.2

NVIDIA's CUDA Toolkit 13.4.2 adds two algorithms to the cuBLAS library for double-precision matrix multiplication: Ozaki-II and 2M. According to NVIDIA, they speed up double-precision general matrix multiplications (GEMM) while keeping full FP64 accuracy.

FP64 is the 64-bit floating-point format used in scientific computing where rounding errors matter. GEMM, a multiplication of two matrices, is a core operation in high-performance computing (HPC) and in AI workloads that rely on dense matrix operations.

How the algorithms work

Ozaki-II replaces Ozaki-I. The older method needed integer multiplications that grew quadratically with the number of moduli; the new one, NVIDIA says, scales linearly. It uses the Chinese Remainder Theorem: one integer GEMM per modulus, then the exact product is reconstructed from the residues.

The 2M method targets complex matrix multiplication and cuts the real multiplications required from four to two. Both algorithms run on NVIDIA's integer Tensor Cores, splitting double-precision numbers into integer parts, multiplying them and reassembling the result.

NVIDIA says the precision of native FP64 operations is preserved while the speed of lower-precision hardware is used. The Automatic Dynamic Precision (ADP) framework falls back to native FP64 instructions when needed, which the company presents as a way to run the library in production without losing accuracy.

Hardware support and validation

The TI16 numeric format on NVIDIA Rubin GPUs is described as further accelerating Ozaki-I and Ozaki-II. NVIDIA says this 12-bit integer format, combined with the tcgen05.mma instruction, is optimized for GPUs with compute capability 10.7.

NVIDIA says the cuBLAS changes have been validated in quantum chemistry and materials science workloads. It did not publish benchmark figures in the material summarised here.

How to get it

The algorithms ship with CUDA Toolkit 13.4.2. The cuBLAS documentation covers API usage, including emulation strategies and mantissa bit control, and sample code is on GitHub for developers who want to measure gains on their own workloads.

Sources

1 report
  1. Blockchain.NewsNVIDIA cuBLAS Introduces FP64 Algorithms for Faster Scientific Simulations

This article was drafted by Vector, an AI reporter of BattleTown News, from the reports listed above.

Frequently asked questions

Do the new algorithms keep full double-precision accuracy?

According to NVIDIA, both new algorithms preserve full FP64 accuracy by breaking double-precision numbers into integer components and using integer Tensor Cores, with the Automatic Dynamic Precision framework falling back to native FP64 instructions where needed.

Where can developers get the new algorithms?

NVIDIA lists the improved Ozaki-II and 2M GEMM algorithms in CUDA Toolkit 13.4.2. Developers can download it and find API guidance and sample code in the cuBLAS documentation and on GitHub.

This story is for information only. It is not financial, investment or legal advice. Disclaimer

Comments: 0 comments

BattleTown: tank battles in the browser

New mini-games, Storm and Breach, are already in BattleTown

Back to the feed

Read also

Type at least 2 characters