Chapter 1
Foundations
How a kernel runs, and what limits it
A kernel is a function launched as thousands to millions of threads at once. Everything in the rest of this book, tiling, occupancy, coalescing, roofline analysis, is a consequence of how those threads are grouped and where the data they touch actually lives.