SwePub
Sök i LIBRIS databas

  Utökad sökning

WFRF:(Mantas J)
 

Sökning: WFRF:(Mantas J) > Numerical behavior ...

Numerical behavior of NVIDIA tensor cores

Fasi, Massimiliano, 1989- (författare)
Örebro universitet,Institutionen för naturvetenskap och teknik
Higham, Nicholas J. (författare)
University of Manchester, Department of Mathematics, Manchester, UK
Mikaitis, Mantas (författare)
University of Manchester, Department of Mathematics, Manchester, UK
visa fler...
Pranesh, Srikara (författare)
University of Manchester, Department of Mathematics, Manchester, UK
visa färre...
 (creator_code:org_t)
2021-02-10
2021
Engelska.
Ingår i: PeerJ Computer Science. - : PeerJ, Inc. - 2376-5992. ; 7, s. 1-19
  • Tidskriftsartikel (refereegranskat)
Abstract Ämnesord
Stäng  
  • We explore the floating-point arithmetic implemented in the NVIDIA tensor cores, which are hardware accelerators for mixed-precision matrix multiplication available on the Volta, Turing, and Ampere microarchitectures. Using Volta V100, Turing T4, and Ampere A100 graphics cards, we determine what precision is used for the intermediate results, whether subnormal numbers are supported, what rounding mode is used, in which order the operations underlying the matrix multiplication are performed, and whether partial sums are normalized. These aspects are not documented by NVIDIA, and we gain insight by running carefully designed numerical experiments on these hardware units. Knowing the answers to these questions is important if one wishes to: (1) accurately simulate NVIDIA tensor cores on conventional hardware; (2) understand the differences between results produced by code that utilizes tensor cores and code that uses only IEEE 754-compliant arithmetic operations; and (3) build custom hardware whose behavior matches that of NVIDIA tensor cores. As part of this work we provide a test suite that can be easily adapted to test newer versions of the NVIDIA tensor cores as well as similar accelerators from other vendors, as they become available. Moreover, we identify a non-monotonicity issue affecting floating point multi-operand adders if the intermediate results are not normalized after each step.

Ämnesord

NATURVETENSKAP  -- Matematik -- Beräkningsmatematik (hsv//swe)
NATURAL SCIENCES  -- Mathematics -- Computational Mathematics (hsv//eng)

Nyckelord

NVIDIA V100 GPU
NVIDIA T4 GPU
Tensor core
Dot product
Matrix multiply-accumulate
Floating-point arithmetic
Half precision
Binary16
IEEE 754 arithmetic
NVIDIA A100 GPU
Mathematics
Matematik

Publikations- och innehållstyp

ref (ämneskategori)
art (ämneskategori)

Hitta via bibliotek

Till lärosätets databas

Sök utanför SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Stäng

Kopiera och spara länken för att återkomma till aktuell vy