This page looks best with JavaScript enabled

What Are FLOPs

 ·  ☕ 2 min read

1. About FLOPs

FLOPs (Floating Point Operations Per Second) refers to the number of floating-point operations performed per second.

Specifically:

  • A single floating-point addition, such as a + b, counts as one floating-point operation.
  • A single floating-point multiplication, such as a * b, also counts as one floating-point operation.
  • Other basic floating-point operations, such as division and square root, can also be counted as one floating-point operation.

2. Single and Double Precision

Under the format defined by ANSI/IEEE Std. 754-1985, a format used for 32-bit numbers is called single precision, and one used for 64-bit numbers is called double precision.

32-bit (single-precision) format

Sign bitExponentMantissa
1 bit8 bits23 bits

64-bit (double-precision) format

Sign bitExponentMantissa
1 bit11 bits52 bits

3. Common Units

UnitDefinition
MFLOPSOne million ((10^6)) floating-point operations per second
GFLOPSOne billion ((10^9)) floating-point operations per second
TFLOPSOne trillion ((10^{12})) floating-point operations per second
PFLOPSOne quadrillion ((10^{15})) floating-point operations per second
EFLOPSOne quintillion ((10^{18})) floating-point operations per second

4. Common Devices and Compute Power

Device modelSingle-precision compute (FP32)
GeForce RTX 409082.58 TFLOPS
NVIDIA H10051.22 TFLOPS
NVIDIA H2044 TFLOPS
NVIDIA A10019.5 TFLOPS
NVIDIA A80019.5 TFLOPS
Tesla V10015.7 TFLOPS

This means a GeForce RTX 4090 can perform 82.58 trillion single-precision floating-point operations per second.


WeChat Official Account
WRITTEN BY
WeChat Official Account