Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Engineering for Deep Learning & AI
·
Module 1
Foundations: GPU Architecture and Performance Metrics
1
CPU vs. GPU: Architectural Design Philosophies
Contrast CPU and GPU design philosophies in terms of latency vs throughput, control logic, and arithmetic intensity.
2
NVIDIA GPU Architecture: From SMs to Tensor Cores
Describe the hierarchical structure of a modern NVIDIA GPU: Streaming Multiprocessors (SMs), warp schedulers, CUDA cores, and Tensor Cores.
3
Understanding the SIMT Execution Model
Explain the Single Instruction, Multiple Thread (SIMT) execution model, including warps, warp divergence, and predication.
4
GPU Memory Hierarchy: Bandwidth and Latency
Diagram the GPU memory hierarchy (registers, shared memory/L1, L2, HBM) with their typical bandwidth and latency characteristics.
5
GPU Performance Budgeting: FLOPS and Bandwidth
Compute peak FP32/FP16/BF16 FLOPs and HBM bandwidth for a target GPU (e.g., A100/H100) to establish a hardware performance budget.
6
Estimating FLOPs and Parameters for GPT-2 and ResNet-50
Estimate the per-layer FLOPs and parameter counts for the GPT-2 small and ResNet-50 case studies.
7
Roofline Analysis of GPT-2 and ResNet-50 Layers
Use the roofline model to predict whether key layers in GPT-2 (attention, MLP) and ResNet-50 (convolutions) are compute- or memory-bound.
8
Optimizing PCIe Bandwidth for Model Training
Compute effective host-device bandwidth over PCIe and estimate the transfer cost of model parameters for a single training step.
Previous module
Next module
CUDA Programming Essentials