LESSON 26.04 · 5 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
SMs, CUDA cores and Tensor Cores
Watch one CPU core, then the SMs of a GPU, do the same math.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 26.04 · GPU BAYCPU CORE · 1,024 ADDS · 341 ns
01
Stage 1 of 5 · One CPU core
One CPU core adds one pair each cycle. The 1,024 adds of c take 1,024 cycles: 341 ns at 3 GHz.
Explain it simply
The big square on the right is the vector c, laid out as 32 rows of 32. This toy CPU core has one fast lane. It adds one pair of numbers each cycle, so the squares fill one at a time. That takes 1,024 cycles.
One CPU core with one lane fills the 1,024 squares of c one at a time. It takes 1,024 cycles, 341 ns.
a and blanes at workfree lanesunused Tensor Coresresults
Toy: 26.C1 vectors · arithmetic cycles only, no memory
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The time is the operations divided by the clock rate.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.