← Latest papers
💻 computer science

FP8 is All You Need (Part 2): Efficient Ozaki-Bailey Style FFT Through Tensor-core Garner Reformulation and Kulisch Escape Route

This paper proposes "Ozaki-Bailey FFT," a method that enables full FP64-accurate 3-D FFTs on NVIDIA Blackwell Ultra GPUs by reformulating the computation through FP8 tensor cores and Kulisch fixed-point arithmetic, thereby overcoming the hardware's reduced native FP64 throughput to achieve memory-bound performance parity.

Original authors: Satoshi Matsuoka

Published 2026-06-24
📖 6 min read🧠 Deep dive

Original authors: Satoshi Matsuoka

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Heavy Lifter" Lost Its Strength

Imagine a high-performance computer chip (like the new NVIDIA B300) as a massive construction site. In the past, this site had a giant, super-strong crane (the FP64 vector pipe) capable of lifting heavy, precise steel beams (scientific calculations) with incredible speed.

However, the new chip design decided to focus almost entirely on building AI models. To make room for AI, they replaced the giant crane with a fleet of tiny, super-fast delivery drones (the FP8 tensor cores). These drones are amazing at moving light packages (AI data) but are terrible at lifting the heavy, precise steel beams needed for scientific work like weather forecasting or physics simulations.

The result? The site is so fast at moving light packages that it's actually waiting for the trucks to arrive (memory speed), but the few heavy cranes left are so slow that if you try to use them, the whole project grinds to a halt.

The Goal: Build a Bridge to the "Memory Roof"

The authors want to get scientific calculations running as fast as the memory trucks can deliver data. This speed limit is called the "Memory Roof." Currently, the B300 chip is stuck far below this roof because its heavy crane is too weak.

The paper proposes a clever, three-part construction plan to bypass the broken crane and reach the roof again, using only the tools the chip already has.

The Three-Part Solution

1. The "Ozaki-Bailey" Strategy: Breaking the Beam into Bricks

Instead of trying to lift the heavy steel beam (a complex 3D math problem called a 3D FFT) all at once, the team breaks it down.

  • The Metaphor: Imagine you need to move a giant, fragile statue. You can't lift it whole. Instead, you break it into thousands of small, manageable Lego bricks.
  • The Tech: They use a mathematical trick called the Bailey six-step decomposition to break the big math problem into tiny pieces. Then, they use the Ozaki Scheme, which translates these pieces into "bricks" that the tiny, fast delivery drones (FP8 tensor cores) can handle easily.

2. The "Garner" Problem: The Reassembly Bottleneck

Once the drones have moved all the Lego bricks, you have to put them back together to rebuild the statue.

  • The Problem: In the old way of doing this (called Recursive Garner), reassembling the bricks was slow and clumsy. It was like trying to glue a million tiny bricks together by hand. On the new chip, this reassembly step took 260 milliseconds, which is 20 times slower than the memory trucks could deliver the bricks. It was the new bottleneck.
  • The Fix (Phase A): The authors realized they could use the fast drones to do the "gluing" for the first part of the reassembly. They split the job:
    • Phase A: The fast drones do the heavy lifting of the initial assembly. This is super fast.
    • Phase B: The final, tricky part of putting the statue together. This is where the old method failed.

3. The "Kulisch Escape Route": The Secret Weapon

This is the paper's most creative innovation.

  • The Problem: The final step (Phase B) usually requires a very precise, heavy-duty calculator (the FP64 pipe) to sum up the numbers. But on the B300 chip, that heavy calculator is broken/slow.
  • The Solution: The authors found a way to use a different tool that the chip didn't cut down: the INT32 pipe (a standard integer calculator).
  • The Metaphor: Imagine you need to count a massive pile of sand to the exact grain. The "heavy crane" (FP64) is broken. But you have a fleet of counting robots (INT32) that are incredibly fast at adding whole numbers.
    • The authors realized that if they treat the sand grains as simple whole numbers and use a "wide bucket" (a Kulisch accumulator) to catch them, the counting robots can do the job perfectly.
    • They don't need the broken heavy crane at all. They just use the fast counting robots to do the final sum, then pour the result into the heavy crane once at the very end.
  • The Result: This "Kulisch" method allows the chip to finish the job in 18 milliseconds, which is almost as fast as the memory trucks can deliver the data (the Memory Roof).

The "Four-Floor" Rule for Future Chips

The authors analyzed this process and created a rulebook for chip designers, called the "Four-Floor Codesign Rule." To ensure a chip can handle these scientific tasks in the future, it must meet one of two conditions:

  1. The Native Floor: Keep the heavy crane (FP64) strong enough to do the job on its own.
  2. The Kulisch Escape Route: If you weaken the heavy crane, you must keep the counting robots (INT32) and the delivery drones (FP8) strong enough to do the work together.

The Verdict on Current Chips:

  • H100 and B200: They have strong heavy cranes. They don't need the trick; they just do the job normally.
  • Rubin (Future Chip): It has a slightly weaker crane but is still just strong enough to do the job normally.
  • B300 (The Problem Child): Its heavy crane is 10 times too weak. However, because its counting robots (INT32) and delivery drones (FP8) are still strong, the authors' "Kulisch Escape Route" saves it. They can still run these scientific tasks at top speed, but only if they use this specific software trick.

Summary

The paper says: "Don't panic if the heavy crane is gone. If you break the job into small pieces, use the fast drones to move them, and use the fast counting robots to do the final math, you can still reach the speed limit of the memory trucks."

This proves that even with a chip designed primarily for AI, we can still do high-precision scientific computing efficiently, provided we use the right software "hacks" to route the work around the missing hardware.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →