Skip to main content

[Review] CUDA by Example — Best Book for GPU Beginners

· One min read
hwkim-dev
Developer

The book that helped me most when I first started learning CUDA programming.

Book Info

  • Title: CUDA by Example: An Introduction to General-Purpose GPU Programming
  • Authors: Jason Sanders, Edward Kandrot
  • Publisher: Addison-Wesley Professional (2010)
  • Difficulty: ⭐⭐☆☆☆ (Beginner)

Why It's Good

Example-Driven Structure

Instead of burying you in theory, it shows working code first and explains afterward. The progression feels natural: kernel basics → memory management → textures/constant memory → streams.

Core Topics Covered

ChapterTopic
3Writing & launching kernels
4Parallel reduction
5Thread cooperation & shared memory
9Atomic operations
10CUDA streams

Downsides

  • Published in 2010, so nothing on modern architectures (Volta / Ampere / Hopper).
  • Warp-level primitives (__shfl_sync, etc.) are not covered — you'll need NVIDIA's Programming Guide for those.

Who Should Read It

Anyone who knows C and wants to get started with CUDA — strongly recommended. Once you finish it, move on to the NVIDIA Programming Guide and GTC session slides for deeper optimization.

Score: 4 / 5 ⭐⭐⭐⭐☆