EP 12 · Short 4 of 6 · 2026-11-26

How did scientists trick graphics chips into doing science?

Short answer: In the early 2000s, graphics chips only understood graphics, so researchers disguised their maths as a picture: numbers went in as pixel colours and each calculation was written as a way of shading those pixels, so the colours the chip drew were the answers. Stanford's Brook language automated the disguise, and in 2007 NVIDIA's CUDA, led by Brook's Ian Buck, let anyone write plain maths for a graphics chip.

How it works

From the disguise to CUDA:

  1. 1Cheap power. Gamers bought graphics cards by the millions, so huge calculating power became cheap. Scientists wanted it.
  2. 2Graphics only. The chips only understood triangles, textures and pixels, not physics equations.
  3. 3The disguise. Every number became a pixel's colour; every calculation a way of shading it. The chip drew, and the colours were the answers.
  4. 4Brook. A Stanford language that did the disguise for you; in 2004 programs ran up to seven times faster than on a normal processor.
  5. 5CUDA. Ian Buck joined NVIDIA and led CUDA, released in 2007: plain maths for a graphics chip, no disguise.

MYTHGPUs were always meant for general computing.

REALLYScientists first had to trick them, by writing maths as pictures.

People also ask

Why are they called CUDA cores?

CUDA is NVIDIA's platform for running ordinary programs on its graphics chips; NVIDIA calls the chip's small calculators CUDA cores.

What was GPGPU?

General-purpose computing on graphics processing units: using graphics chips for non-graphics maths, at first by disguising it as shading.

Read the transcript

Your graphics card was once tricked into doing science while it thought it was drawing a picture. In the early 2000s, gamers were buying graphics cards by the millions, so a huge amount of calculating power had suddenly become cheap. Scientists wanted it for physics, for weather, for medicine, but there was a problem. These chips only understood graphics, triangles, textures, and pixels. You couldn't just hand one a physics equation. So researchers disguised their maths as a picture. Every number went in as the color of a pixel. Every calculation was written as a way of shading those pixels. Then they told the chip, "Draw." The chip worked out every color, and the colors that came back were the answers. It was awkward, but it worked. At Stanford, the team built a language called Brooke to do the disguise for you. And in 2004, they reported programs run up to seven times faster than on a normal processor. But the real twist came next. One of that team, Ian Buck, later joined NVIDIA, one of the biggest makers of gaming chips, and led a project called CUDA. Released in 2007, it let anyone write plain maths for a graphics chip, no disguise. That's why the tiny calculators inside a graphics card are still called CUDA cores. And the chip that pretended to draw is now the one that runs AI, and that's how it works.

Sources we checked

Spotted a mistake? Email cogling.studio@gmail.com and we'll check it.

The full video

Full video

Why does AI run on a gaming card?

One chatbot answer is nearly 50 trillion sums. By hand: 1.5 million years. A gaming card: under a second. Here's how a game chip ended up running AI.

Read the answer · YouTube · Instagram

More from this video

Short 6 of 6

What is an AI actually doing?

Not words, not ideas. One tiny sum: multiply, add. Billions of times per word.

Read the answer · YouTube · Instagram

Short 5 of 6

The fastest chips on Earth… waiting?

The fastest chips on Earth aren't short of brains. They're short of paper.

Read the answer · YouTube · Instagram

Short 3 of 6

Two gaming cards vs the best labs

2012: Google used 1,000 computers to find cats. A student used two gaming cards, in his bedroom, and beat every lab.

Read the answer · YouTube · Instagram

Short 1 of 6

How many sums is one AI answer?

Nearly 50 trillion sums. By hand: 1.5 million years. A gaming card: under half a second.

Read the answer · YouTube · Instagram

More explainers

EP 13

Wi-Fi from a black-hole hunt

The hunt found nothing. The maths it left behind fixed Wi-Fi's echo problem.

Read the answer · YouTube · Instagram

EP 13

Your screen was a solar panel

A solar cell that barely worked, run the other way round.

Read the answer · YouTube · Instagram

EP 13

The chip that ran with no power

1985: the meter read zero, and the first ARM chip kept running anyway.

Read the answer · YouTube · Instagram

Get your daily aha

New "how it works" explainers on YouTube Shorts and Instagram Reels.