Skip to content
Preprint

Emulating DGEMM and ZGEMM with INT8 Matrix Engines on Intel Arc GPUs: Ozaki Scheme II on the Xe2 Architecture

Oct 2026 · 0 citations · 32 references
Computer Science Mathematics

TL;DR

This work presents what is, to their knowledge, the first implementation of Ozaki scheme II for Intel GPUs, written in SYCL on top of oneMKL, and exposes the full BLAS dgemm/zgemm interface and reports worst-case accuracy, phase breakdowns, energy, and a comparison with Ozaki scheme I.

Abstract

Double-precision matrix multiplication, real (DGEMM) and complex (ZGEMM), dominates the run time of dense linear algebra and electronic-structure codes. On affordable GPUs, however, FP64 throughput is a small and shrinking fraction of the throughput of the low-precision matrix engines. Ozaki scheme II closes this gap by reducing a floating-point matrix product to a handful of exact INT8 products followed by a Chinese-remainder reconstruction; the number of products sets the accuracy. We present what is, to our knowledge, the first implementation of Ozaki scheme II for Intel GPUs. Written in SYCL on top of oneMKL, it runs entirely on the device and exposes the full BLAS dgemm/zgemm interface. Making the scheme fast on the Xe2 (Battlemage) architecture required keeping FP64 arithmetic out of all memory-bound kernels, a branch-free residue computation, an FP32 evaluation of the CRT quotient with a proven safety margin, 16-bit limb arithmetic in the reconstruction, and work-arounds for performance cliffs of the vendor INT8 GEMM. On an Intel Arc Pro B60 (24 GB) the emulated DGEMM reaches 17.3, 12.1 and 9.3 TFLOP/s with $s=8$, 12 and 16 moduli at $N=8192$, and up to 21.1 TFLOP/s overall, i.e. 12-28x the native FP64 DGEMM of the same board. The emulated ZGEMM, which uses the 3M form exactly in integer arithmetic, reaches up to 27.4 TFLOP/s and is 13.7-17.8x faster than native ZGEMM for $N\ge4096$ at $s=16$. With $s\ge16$ the results are correctly rounded for well-scaled inputs and, using an extended-width residue path ($s=20$-24), also for inputs with wide exponent ranges, whereas native DGEMM rounds only 2-13% of the entries correctly. We also report worst-case accuracy, phase breakdowns, energy, an ablation study, a comparison with Ozaki scheme I, and a validated performance model.

View source

Similar papers

Preprint Oct 2026

Integer-Exact Microscaling: Running MXFP4 Language Models on INT8 Matrix Units

This work shows when no per-block work is needed: a row of MXFP4 weights is exactly one INT8 vector times one power-of-two scale if its block exponents span at most three, so a linear layer becomes a single INT8 GEMM with one rescale per output.

Shinyoung Kang, Junhyung Ahn, Yujun Kim et al. · 0 citations
Preprint Oct 2026

Investigating ET-SoC-1 Vector and Parallel Performance with sGEMM

The Ainekko (formerly Esperanto) ET-SoC-1 is a massively parallel RISC-V accelerator. Its compute array comprises 1024 dual-threaded in-order ET-Minion cores (2048 harts) operating at 600 MHz, each core providing an eight-lane 256-bit packed-single (PS) SIMD datapath shared by its two harts, with access to LPDDR4X memo...

Richard Neale, Nick Brown · 0 citations
Preprint Nov 2026

GPU acceleration of the numerical-atomic-orbital DFT code OpenMX with GEMMul8: performance and numerical agreement on consumer and HPC GPUs

We integrate GEMMul8, a library that emulates FP64 matrix multiplication on INT8 Tensor Cores, into the GPU version of the numerical-atomic-orbital first-principles code OpenMX 4.0. The GEMMul8 configuration is compared against the cuBLAS FP64 configuration within each of two environments, a consumer GeForce RTX 5080 a...

Hiroyuki Kawai, T. Ozaki, Y. Ōno · 0 citations
#machine learning Preprint Nov 2026

ZYFA: Speed and Accuracy of FP8 FlashAttention on AMD CDNA4

ZYFA, prefill kernels for the MI355X built on three techniques: computing each FP8 probability directly from its score with a multiply-add and an integer conversion instead of an exponential; a ping-pong schedule in which one group of threads computes its softmax while another executes its matrix multiplications; and s...

Quentin Anthony, Ganesh Bikshandi, Praneeth Medepalli et al. · 0 citations
Preprint Nov 2026

Concurrent Use of FP32 and FP64 Computing Units on GPUs and Mixed-Precision Placement in WENO Reconstruction

Scientific computing often requires FP64 arithmetic, although FP64 performance is limited on NVIDIA GPUs. Double-float (DF) emulation, which represents a value using two FP32 values with about 48 bits of significand, outperforms native FP64 where FP64 units are limited. On the other hand, mixed-precision strategies off...

Jun Hatayama, Daichi Mukunoki, Yusuke Onishi et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.