✦ ✦ ✧
Future-Ready · The Stack

How GPUs handle parallel calculations

A graphics processor can draw video-game explosions and train AI models. Each task includes many similar calculations that can run in parallel.
🍳Two ways to organize work
🧑‍🍳CPU
⚡⚡ ⚡⚡ 4 cores in this example
CoresA core is a processing unit within a chip. CPU cores handle varied instructions, including steps that depend on earlier results.
StyleSerial processing completes dependent steps in order. A multicore CPU can also run jobs in parallel.
AnalogyA chef can follow a complex recipe, making decisions as each dish cooks.
💻 Examples: apps, game logic, operating systems
🎮GPU
MANY PROCESSING UNITS
CoresA GPU has many processing units that can perform similar operations on many data items at once.
StyleParallel processing divides work into parts that can proceed at the same time.
AnalogyPicture many cooks, each flipping a pancake from the same recipe.
🎮 Examples: pixels and matrix calculations
⏱️Serial and parallel timing
SERIAL EXAMPLE: one task at a time 1234 5678 🧑‍🍳 done tick 8 PARALLEL EXAMPLE: eight at once 1234 5678 👩‍🍳 Eight finish in the first tick. These tasks take equal time and are independent. The chart leaves out time to organize the work. Completed work per unit of time is called throughput. time
For many similar calculations, a GPU can offer high throughput. If step 5 needs the result of step 4, that pair must run in order. CPUs and GPUs can both handle dependencies.
🔢Multiplying grids of numbers
MATRIX A MATRIX B ANSWER GRID 317 254 609 × 427 193 802 = ? 1 row, 1 column multiply, then add Each answer uses two input lists. Other answer cells can run in parallel.
A grayscale image can be stored as a matrix with a value for each pixel. Color uses multiple values per pixel. AI models also store numerical weights in arrays, sometimes with billions of entries. Training large models involves repeating calculations many times. Matrix products contain parallel work, though some training steps must wait for others.
From graphics to other calculations
GPUs were built for graphics in games. AI training also uses many similar operations on different numbers.
In 2006, NVIDIA released CUDA, a system for programming GPUs to work on other kinds of calculations in fields such as chemistry, astronomy and AI.
NVIDIA isn't alone: Google designs AI chips called TPUs, and AMD builds powerful GPUs too.
🕰️Milestones in GPU use
1993 NVIDIA founded at a diner 🍳 2006 CUDA lets gaming chips do non-graphics work 2012 AlexNet wins ImageNet with 2 gaming cards 2023 Accelerator shortage Some orders faced delays. 2025 Passed $5 trillion
In Toronto, researcher Alex Krizhevsky and colleagues trained an image classifier using two gaming GPUs for roughly five to six days: AlexNet. Their 2012 competition entry combined several networks and achieved a top-five error rate of 15.3%, compared with 26.2% for the runner-up. A top-five error means the right label was missing from all five guesses.
🏗️GPU counts in computing systems
GPU counts (bars use a compressed scale) AlexNet, 2012 2 gaming cards → AlexNet Frontier, Oak Ridge ~38,000 GPUs supercomputer 🔬 AI cluster 100,000+ GPUs AI training Memphis site Expansion goal: over 500,000
Training clusters connect many GPUs so they can share data and divide work. The price of a high-end AI GPU can be as much as a new car. Buying and powering many processors makes compute a significant part of a project’s cost.
Electricity use and efficiency
How much power does a cluster use? A 100,000-GPU cluster can draw over a hundred megawatts if the processors and supporting equipment are operating at high loads. Actual power depends on the hardware and how it is used.
Why compare designs? Engineers compare calculations per watt. Energy used for one answer also depends on the model, software and length of the response.
🔑Key Terms
🧑‍🍳CPU A central processing unit executes general-purpose instructions. Its cores handle a wide range of tasks, including work that depends on earlier decisions.
🎮GPU A graphics processing unit runs many similar calculations in parallel. GPUs are used for graphics, scientific computing and AI.
🚶Serial processing Carrying out steps in sequence, like serving customers in a single checkout lane.
⚡Parallel processing Working on several parts of a job at the same time, like 30 students each checking one page.
🔢Matrix A rectangular array of numbers. Matrices can represent image values, model weights and other data.
🏎️Accelerator Hardware designed to speed up certain calculations, such as the operations common in AI models.
💪Compute Computing capacity or work used to carry out calculations.
🌍GPUs at work
🔬Oak Ridge National Laboratory, Tennessee
Frontier at Oak Ridge uses nearly 38,000 GPUs from AMD. Researchers use the system to model materials, climate and problems in medicine.
🎬Game & film studios
Some game and film studios use "render farms" to calculate lighting, water, fur and explosions frame by frame. A render farm can use CPUs, GPUs or both.
Examples from the chip industry
  • NVIDIA was founded in 1993 at a Denny's diner booth in San Jose, California. The restaurant marked the meeting site with a plaque in 2023. In 2025, the company’s stock-market value crossed $5 trillion.
  • NVIDIA reported 336 billion transistors for its 2026 Rubin package across two dies. For scale, the human brain has roughly 86 billion neurons. A transistor is an electronic device and a neuron is a living cell. The counts do not measure intelligence.
  • In 2023, the cloud company CoreWeave borrowed $2.3 billion. The processors served as collateral, meaning the lender had a claim on them if the borrower failed to repay.
⭐
Comparing processors
  1. CPUs are often used for latency-sensitive work, where a result is needed quickly before the next step. GPUs can provide high throughput on parallel tasks. The best fit depends on the job, the data and the software.
  2. AI models often multiply large matrices. A single output value may require many products and additions, while other output values can be calculated in parallel.
  3. Compute has costs in hardware, electricity and cooling. Engineers look for ways to do more useful work per watt.
A problem to consider
If you had 1,000 helpers, which calculations could they do independently? Which steps could only start when an earlier answer was ready?
Large AI training runs can require costly hardware. How might researchers decide which projects can use a shared cluster?
✏️ ClickClass · How GPUs handle parallel calculations
ClickClass offers hundreds of free printables at clickclassedu.com/printables.