Skip to main content

Why Did GPUs Become Programmable? The Step Before CUDA

Updated 4 min readMarkdown
Part of seriesNvidia GPU Architecture Learning Series

GPU Architecture — Learning Bytes | Lesson 02

In Lesson 01, we discovered why GPUs emerged: to accelerate graphics calculations that were placing increasing demands on CPUs.

But that created another interesting problem.

What happens when graphics hardware is fast, but developers want it to do something it wasn't originally designed to do?

Let's explore.

🎮 Imagine Designing a Racing Game in 2001

You're building a racing game.

Your GPU can already draw cars, roads, and buildings. It can perform geometry transformations and lighting calculations.

But you want something more realistic:

  • A car's paint should reflect its surroundings.
  • Water should ripple naturally.
  • Characters should move with more realistic animation.
  • Different surfaces should react differently to light.

The problem?

Much of the graphics pipeline follows predefined operations.

You can configure the available functions, but you cannot freely replace their underlying calculations.

The hardware is fast, but not flexible enough.

🚦 Fixed-Function Graphics: Like a Calculator With Preset Buttons

Imagine a calculator that only has buttons for addition, subtraction, multiplication, and division.

It's excellent at those operations.

But what if you need a custom formula?

You need something programmable.

Early graphics hardware faced a similar limitation.

Fixed-function pipelines provided specialized operations for transforming geometry, applying lighting, and rendering pixels.

Developers needed greater control over how those calculations were performed.

That led to a major architectural change.

💡 The Breakthrough: Programmable Shaders

Instead of relying entirely on predefined graphics operations, GPUs began supporting small programs called shaders.

A shader is a program that runs on the GPU to perform particular graphics calculations.

Two important types emerged:

Vertex Shader: Controls calculations involving 3D vertices, such as position transformations and character deformation.

Pixel Shader: Controls calculations used to determine how surfaces appear, including color, lighting, and reflections.

Let's return to our racing game.

With programmable shaders, developers could create custom calculations for the appearance of a car's paint rather than relying only on preset lighting and texture operations.

The GPU was no longer limited to executing a fixed collection of graphics formulas.

🕰️ Four NVIDIA Architectures That Tell the Story

Year Architecture Important development
1999 Celsius — GeForce 256 Hardware Transform & Lighting
2001 Kelvin — GeForce3 Programmable vertex shaders and early programmable pixel shading
2003 Rankine — GeForce FX More capable floating-point shader processing
2004 Curie — GeForce 6800 Shader Model 3.0 and greater programming flexibility

Each generation gave developers more control over graphics calculations.

The transition was gradual: fixed-function hardware and programmable stages coexisted for years.

⚡ Why Was This More Than a Graphics Improvement?

Consider the difference:

Fixed-function GPU: The hardware determines which calculations are available.

Programmable GPU: Developers can supply programs that perform supported calculations on large amounts of data.

This changed what GPUs could potentially be used for.

Researchers began exploring whether graphics processors could perform useful calculations outside traditional graphics applications.

However, early GPU computing was still difficult. Developers often had to express general computations through graphics-oriented programming interfaces.

Programmability was an important step, but it wasn't yet the convenient general-purpose GPU computing model we know today.

🌐 What Does This Mean for AI Network Architects?

At this stage, GPU innovation was primarily about computation within a graphics processor.

There were no modern GPU training clusters exchanging gradients over high-speed AI fabrics.

But the architectural direction mattered.

Once GPUs became increasingly programmable, they could eventually be used for many parallel computations beyond graphics.

Later developments made them practical for scientific computing and AI workloads.

And as applications expanded from one GPU to multiple GPUs and eventually thousands of accelerators, another challenge became increasingly important:

How do we move data between all these processors efficiently?

That's where GPU interconnects and AI networking enter the story.

🎯 The One Thing to Remember

Fixed-function GPUs accelerated predefined graphics operations. Programmable GPUs gave developers control over the calculations themselves.

That flexibility was an essential step toward general-purpose GPU computing.

🤔 Think About It

If GPUs already supported programmable shaders by 2004, why did NVIDIA still need CUDA?

That's the question we'll explore in Lesson 03.


Packets and Fabrics — Decoding Networks. Designing AI Fabrics.

Series: NVIDIA GPU Architecture — Learning Bytes

References: NVIDIA GPU Gems 2 — GeForce 6 Architecture · NVIDIA GeForce History

39 views

About the author

  • Network Engineer exploring AI infrastructure, data center networking, and next-generation Ethernet fabrics. Passionate about decoding complex networking technologies, designing scalable AI fabrics, and sharing practical insights through architecture discussions, hands-on labs, and technical learning series.

No comments yet. Be the first to comment.

More from this blog