Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Dense Matrix Multiply Work Budget

Calculate GEMM work, compulsory data traffic and ideal arithmetic intensity.

Computer Systems workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaFLOP=2MNK; bytes=s(MK+KN+MN)
Sources and model references

Worked example

Inputs

Output rows
100
Output columns
100
Inner dimension
100
Bytes per element
4 bytes

Expected results

Multiply-add operations
2000000 FLOP
Read A and B, write C
120000 bytes
Ideal arithmetic intensity
16.66666667 FLOP/byte

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs in the indicated units.
  2. Calculate and compare every output against the stated model assumptions.

Try this example

{
  "m": 100,
  "n": 100,
  "k": 100,
  "bytes": 4
}

Accuracy and scope

C=AB with no prior C read and perfect reuse; cache capacity and tiling can increase traffic. Simplified analytical model; not a design recommendation or safety certification.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.