Home
/ Inference Engineering GPU Programming Module 5 6 lessons ~7h 10m
Lessons, in order 5.a
The Software Stack Between an inference server and the GPU's transistors sit several layers. Knowing them is how you fix the most common GPU errors — "CUDA driver version is insufficient", "no CUDA-capable …
40 min
5.b
CUDA Programming Fundamentals You will rarely write production CUDA. You should write enough to read it fluently, to understand what your engine is doing, and to write a custom fused operation when nothing else fits.
2h
5.c
Your First Kernel, Called from Go Optional for readers who do not use Go: the five steps in this lesson are identical from Python (PyTorch, CuPy), Rust or C++. Read it for the steps and the cost model; skip the cgo details …
1h 30m
5.d
Kernel Launch and Host-Device Interaction Everything that happens at the CPU-GPU boundary: launching kernels, copying data, and synchronizing. This boundary costs microseconds, and at decode's kernel granularity, microseconds …
1h
5.e
Streams and Synchronization A stream is an ordered queue of GPU operations. Operations in the same stream execute in order; operations in different streams may overlap.
1h
5.f
CUDA Graphs Recording a sequence of GPU operations once, then replaying the whole sequence with a single launch.
1h
About this module How work gets onto a GPU: the software stack from driver to framework, writing a CUDA kernel, calling one from a host program, how launches and memory copies really work, streams and synchronisation, and CUDA graphs. You do not need to become a kernel author, but you need to know what the engine is doing on your behalf.
Lessons# Previous: GPU Architecture · Next: GPU Performance