PofoliaGünlük literatür takibi

SIAM Journal on Scientific Computing· 2026Q1

Tam Sayı Aritmetiği ile Hesaplanan Kayan Noktalı Matris Çarpımının Analizi

Analysis of Floating-Point Matrix Multiplication Computed via Integer Arithmetic

Ahmad Abdelfattah, Jack J. Dongarra, Massimiliano Fasi, Mantas Mikaitis ve diğerleri

Kısa özet

Hedeflenen bir doğruluğu elde etmek için kayan noktalı matris çarpımı için gereken minimum tam sayı çarpımlarının sayısını tahmin etmek üzere, NVIDIA tensor çekirdekleri gibi donanımlar için performans-doğruluk dengesini optimize eden bir yöntem önerilmiştir.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Ana noktalar

  • Kayan noktalı matris çarpımının doğruluğu için gereken minimum tam sayı çarpımlarını tahmin etmek üzere ucuz bir yöntem önerilmiştir.
  • Teknik, matrisleri tam sayı dilimlerine ayırır, çarpımlarını tam olarak hesaplar ve sonuçları kayan noktalı aritmetikte biriktirir.
  • Bu yaklaşım, NVIDIA tensor çekirdekleri gibi tam sayı desteğine sahip karma hassasiyetli birimler için çok uygundur.
  • Tam sayı dilimi sayısı, performans-doğruluk dengeleri için olanak tanır.
  • Analiz, kötü ölçeklenmiş satır veya sütunlarla potansiyel yanlışlıklar olabileceğini göstermektedir; bu durum GPU deneyleriyle doğrulanmıştır.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Özet (abstract)

Abstract. Ootomo, Ozaki, and Yokota [ Int. J. High Perform. Comput. Appl., 38 (2024), pp. 297–313] have proposed a strategy to recast a floating-point matrix multiplication in terms of integer matrix products. The factors [Formula: see text] and [Formula: see text] are split into integer slices, the product of these slices is computed exactly, and [Formula: see text] is approximated by accumulating these integer products in floating-point arithmetic. This technique is particularly well suited to mixed-precision matrix multiply–accumulate units with integer support, such as the NVIDIA tensor cores or the AMD matrix cores. The number of slices allows for performance-accuracy tradeoffs: more slices yield better accuracy but require more multiplications, which in turn reduce performance. We propose an inexpensive way to estimate the minimum number of multiplications needed to achieve a prescribed level of accuracy. Our error analysis shows that the algorithm may become inaccurate (or inefficient) if rows of [Formula: see text] or columns of [Formula: see text] are badly scaled. We perform a range of numerical experiments, both in simulation and on the latest NVIDIA GPUs, that confirm the analysis and illustrate strengths and weaknesses of the algorithm. Reproducibility of computational results. This paper has been awarded the “SIAM Reproducibility Badge: Code and data available” as a recognition that the authors have followed reproducibility principles valued by SISC and the scientific computing community. Code and data that allow readers to reproduce the results in this paper are available at https://github.com/north-numerical-computing/integer-matrix-multiply-experiments and in the supplementary materials ( integer-matrix-multiply-experiments-main.zip [97.8KB]). [Formula: see text]

Yazarların özeti; kaynağından alınmıştır. SIAM Journal on Scientific Computing, 2026 · DOI ↗

ÇıkarımlarPremium Makaleye SorÜcretsiz hesapla

Ücretsiz hesapla devam et

Makaleye Sor ile bu makaleye günde 5 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.

Web'de ücretsiz devam et

Google ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.

Telefonda:

Alan: Hesaplamalı Kuram ve Matematik

Computational Theory and MathematicsComputer Science