Skip to main content
  1. Data Science Blog/

Exploring Graphics Processing Units (GPUs)

·713 words·4 mins· loading · ·
AI Hardware & Infrastructure IT Infrastructure Artificial Intelligence Machine Learning AI Hardware

Exploring Graphics Processing Units (GPUs)

Exploring Graphics Processing Units (GPUs)
#

Overall Computational Power of GPUs
#

  • Incredible Calculation Speed: Modern GPUs can perform tens of trillions of calculations per second (e.g., 36 trillion for Cyberpunk 2077).
  • 🌍 Human Comparison: Achieving this manually would require the equivalent of over 4,400 Earths full of people, each doing one calculation every second.

GPU vs. CPU
#

  • 🚢 Cargo Ship vs. Airplane Analogy: GPUs are like cargo ships (massive capacity, slower), and CPUs are like jets (fast, versatile, fewer tasks at once).
  • ⚖️ Different Strengths: CPUs handle operating systems, flexible tasks, and fewer but more complex instructions. GPUs excel at huge amounts of simple, repetitive calculations.
  • 🔀 Parallel vs. General Purpose: GPUs are less flexible but highly parallel, CPUs are more general-purpose and can run a wide variety of programs and instructions.

GPU Architecture & Components (GA102 Example)
#

  • 💽 Central GPU Die (GA102): A large chip with 28.3 billion transistors organized into Graphics Processing Clusters (GPCs), Streaming Multiprocessors (SMs), and cores.
  • 🏗️ Hierarchical Structure: GA102 has 7 GPCs → 12 SMs per GPC → 4 Warps per SM → 32 CUDA Per Wrap and 4 Tensor Per Warmp and 1 Ray Tracing Per GPC.
  • 🔢 Types of Cores:
    • ⚙️ CUDA Cores: Handle basic arithmetic (addition, multiplication) most commonly used in gaming.
    • 🧩 Tensor Cores: Perform massive matrix calculations for AI and neural networks.
    • 💎 Ray Tracing Cores: Specialized for lighting and reflection calculations in real-time graphics.

Manufacturing & Binning
#

  • 🔧 Shared Chip Design: Different GPU models (e.g., 3080, 3090, 3090 Ti) share the same GA102 design.
  • 🕳️ Defects & Binning: Manufacturing imperfections result in some cores being disabled. This leads to different “tiers” of the same GPU architecture.

CUDA Core Internals
#

  • Simple Calculator Design: Each CUDA core is basically a tiny calculator that does fused multiply-add (FMA) and a few other operations.
  • 💻 Common Operations: Primarily handles 32-bit floating-point and integer arithmetic. More complex math (division, trignometry) is done by fewer, special function units.

Memory Systems: GDDR6X & GDDR7
#

  • 💾 Graphics Memory: GDDR6X chips (by Micron) feed terabytes of data per second into the GPU’s thousands of cores.
  • 🚀 High Bandwidth: GPU memory operates at huge bandwidths (over 1 terabyte/s) compared to typical CPU memory (~64 GB/s).
  • 🔢 Beyond Binary: GDDR6X and GDDR7 use multiple voltage levels (PAM-4 and PAM-3) to encode more data per signal, increasing transfer rates.
  • 🏗️ Future Memory Tech: Micron also develops HBM (High Bandwidth Memory) for AI accelerators, stacking memory chips in 3D, greatly boosting capacity and speed while reducing power.

Parallel Computing Concepts (SIMD & SIMT)
#

  • ♻️ Embarrassingly Parallel: Tasks like graphics rendering, Bitcoin mining, or AI training are easily split into millions of independent calculations.
  • 📜 Single Instruction Multiple Data (SIMD): Apply the same instruction to many data points at once—perfect for transforming millions of vertices in a 3D scene.
  • 🔓 From SIMD to SIMT: Newer GPUs use Single Instruction Multiple Threads (SIMT), allowing threads to progress independently and handle complex branching more efficiently.

Thread & Warp Organization
#

  • 📦 Thread Hierarchy: Threads → Warps (groups of 32 threads) → Thread Blocks → Grids.
  • 🎛️ Gigathread Engine: Manages the allocation of thread blocks to streaming multiprocessors, optimizing parallel processing.

Practical Applications
#

  • 🎮 Video Games: GPUs transform coordinates, apply textures, shading, and handle complex rendering pipelines. Millions of identical operations on different vertices and pixels are done in parallel.
  • Bitcoin Mining: GPUs can run the SHA-256 hashing algorithm in parallel many millions of times per second. Though now replaced by ASIC miners, GPUs were initially very efficient at this.
  • 🤖 AI & Neural Networks: Tensor cores accelerate matrix multiplications critical for training neural nets and powering generative AI.
  • 💡 Ray Tracing: Specialized cores handle ray tracing calculations for realistic lighting and reflections in real-time graphics.

Micron’s Role & Advancements
#

  • 🏭 Micron Memory Chips: GDDR6X and future GDDR7 designed by Micron power high-speed data transfers on GPUs.
  • 🔮 Innovations in Memory: High Bandwidth Memory (HBM) for AI chips stacks DRAM vertically, creating high-capacity, high-throughput solutions at lower energy costs.
  • 📚 Technological Marvel: Modern graphics cards are a blend of advanced materials, clever architectures, and innovative manufacturing. They enable astonishing levels of visual realism, parallel computation, and AI capabilities.

How do Graphics Cards Work? Exploring GPU Architecture

Related

Beyond AI Coding: How AI is Becoming a Knowledge Compiler for Software Engineering
·1192 words·6 mins· loading
Artificial Intelligence Software Architecture Business & Career Industry Applications AI for Software Development Software Engineering Enterprise AI Artificial Intelligence Knowledge Management Business Analytics AI Governance Future of Software Development
Beyond AI Coding: How AI is Becoming a Knowledge Compiler for Software Engineering # For the last …
From Eigenvalues to Singular Value Decomposition — How a Matrix Reveals Its Natural Directions, Strengths, and Hidden Simplicity
·4131 words·20 mins· loading
Mathematics Machine Learning Research & Academia Mathematics Mathematics for Machine Learning Mathematics for AI Applied Mathematics Machine Learning Fundamentals Dimensionality Reduction Machine Learning
From Eigenvalues to Singular Value Decomposition # How a matrix reveals its natural directions, …
One Word, Many Meanings: Understanding Every Kind of Product in Linear Algebra and Quantum Computing
·3877 words·19 mins· loading
Mathematics Machine Learning Research & Academia Mathematics Mathematics for Machine Learning Mathematics for AI Quantum Computing Machine Learning Fundamentals Applied Mathematics Machine Learning
One Word, Many Meanings: Understanding Every Kind of Product in Linear Algebra and Quantum …
Where Does Knowledge Live? Rules, Skills, Tools, and AI Employees — From the Dev Desk to the Operations Floor
·5210 words·25 mins· loading
Artificial Intelligence Developer Tools Business & Career Software Architecture AI Coding Assistants Knowledge Management AI Governance Digital Workforce Cursor IDE Quality Management Organizational Design Agentic AI
Where Does Knowledge Live? # A Knowledge Architecture for AI Workers The problem nobody talks about …
Quantum Measurement, Randomness, and Everyday Technology
·777 words·4 mins· loading
Interdisciplinary Topics Research & Academia Quantum Physics Quantum Mechanics Quantum Computing Interdisciplinary Topics
Quantum Measurement, Randomness, and Everyday Technology # This is Part 2 of Learning Quantum …