← Back to article

Equation 12 · Locality Is the Whole Game: The Memory Hierarchy and What a Kernel Does Not Read

What does this equation mean?

3N23N^2

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

This mathematical expression combines the displayed quantities; its precise role follows from the surrounding article text. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

N2N^2

Symbol N^2

the square of N; spectacularly compute-bound in principle.

Understand this part →

superscript

superscript

A raised number can be a power. When it is a label or bound, it selects a case or the upper limit of a sum; the formula’s structure distinguishes these uses.

Understand this part →

See an illustrated explanation →

How to interpret it

Read this expression with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

Matrix multiplication is the canonical demonstration because it has enormous latent reuse and a naive schedule that throws almost all of it away. Multiplying two N ×\times N matrices performs about 2N3N^3 operations on 3N2N^2 words — an intensity proportional to N , which for large N is spectacularly compute-bound in principle. Executed as three nested loops in the obvious order, though, each element of one input is re-read from main memory on every pass, and the realised intensity collapses toward a small constant. The available reuse and the exploited reuse are different quantities, and only the second appears in the roofline.

Read the equation in its article →

For background, read the article’s source list.

Return to Locality Is the Whole Game: The Memory Hierarchy and What a Kernel Does Not Read

See this formula across 1 published context →

Browse the mathematical compendium →