r/HPC • • 23d ago

Experiences with Ozaki emulation

AMD strikes back in the FP64 war: https://www.hpcwire.com/2026/11/02/fp64-performance-and-the-limits-of-ozaki-emulation-on-hpc-systems/?_gl=1*12hq0mt*_up*MQ..*_ga*MjAzOTYwODgzMC4xNzkzOTU4MDI3*_ga_5DXR30MHNK*czE3OTM5NTgwMjckbzEkZzAkdDE3OTM5NTgwMjckajYwJGwwJGgw

I wonder if you have any real-world experience with FP64 emulation on Nvidia GPUs. So far I only know it as a marketing tool by Nvidia to increase the Top500 results, but I also see the value in the emualation.

My biggest concern is how it might be implemented for kernels that you can't map to a BLAS routine. For example various kernels in particle physics have roots, trigonometric functions etc. For a wide-spread adoption of emulation, I would expect that there must be some solution so that it ideally comes down to a simple compiler flag.

6 Upvotes

5 comments sorted by

3

u/Radiant_Anxiety_2508 21d ago

The rule is in the TOP500 call for participation: https://www.top500.org/project/call-for-participation/. It excludes "methods that emulate floating-point arithmetic in software using integer arithmetic." The Next Platform piece only says TACC planned to run Horizon both ways, and Dan Stanzione told us the same thing: https://www.supercomputing.news/hpc/tacc-horizon-supercomputer-nsf-allocation-ut-blackwell. I haven't seen an emulated result ranked.

Jack Dongarra told us Ozaki is "most naturally suited to matrix products," and even Satoshi Matsuoka, who argues FP8 emulation can replace native FP64, has conceded that some codes don't fit, accelerator beam dynamics among them.

It's worth watching next week. The SC26 list is the first one produced under ACM SIGHPC, which announced in June it's taking the TOP500 over from ISC Group, and the new steering committee's bylaws put "rules for running the benchmark" in its remit. Matsuoka, who wrote the "FP8 is All You Need" papers, sits on that committee with Dongarra.

We covered this over the summer:

- June: Matsuoka's FP8 papers and Dongarra's response: https://www.supercomputing.news/hpc/fp64-emulation-nvidia-b300-matsuoka-dongarra

- September: Matsuoka's revised papers concede the 3-D FFT: https://www.supercomputing.news/hpc/fp64-emulation-3d-fft-conceded-nvidia-rubin-matsuoka

1

u/glvz 23d ago

I've used Ozaki to emulate some gemms to get speedups, it works nicely but if your workload is not limited by GEMMS you rarely see any benefit. I don't believe nvidia has used ozaki for Top500 results, that is exclusively FP64 or bust.

Did you read the article? Ozaki is built for GEMMS they are saying native FP64 still matters they're not saying you can Ozaki everything, because you cannot.

1

u/ThoughtfulTopQuark 23d ago

I have also used Ozaki for GEMMs. The thing is that many people are wondering whether Nvidia will continue to support native FP64 to a large extend. B300 for example has a very low FP64 performance compared to other models. A significant number worries that Nvidia will drop scientific computing and only produce models with are dimensioned like B300. Nvidia then refers to emulation. It is exactly my point that Ozaki is created with GEMMs in mind and general kernels would severely underperform on GPUs like that.

As far as I'm informed Top500 accepts emulated FP64 (https://www.nextplatform.com/hpc/2026/02/03/tacc-explores-mixed-precision-and-fp64-emulation-for-hpc-with-horizon/4092147), although right now I can't find a specific statement on that in the rules.

1

u/glvz 23d ago

People at Nvidia have said publicly that they won't drop fp64. Will you see the 2x across generations all the time? Maybe not

This is why it is important to write portable code

1

u/ThoughtfulTopQuark 20d ago

If the GPUs should stay balanced FP64 machines, the performance increase should roughly match the bandwidth increase. Anyhow, many people don't trust Nvidia to stand by their word. I also think that when they decide that native FP64 is not profitable anymore, they will drop it like a hot potato.