Scheduling and residency
CUDA Occupancy
Understand active warps, residency limits, achieved versus theoretical occupancy, and why a higher percentage is not always faster.
CUDA performance guides
Each guide connects one CUDA performance mechanism to a small code pattern, the profiler measurements that reveal it, and the mistakes that commonly lead to false conclusions.
Start with the mechanism
Read the explanation, change one thing, and compare the same workload on the same GPU.
Scheduling and residency
Understand active warps, residency limits, achieved versus theoretical occupancy, and why a higher percentage is not always faster.
Global memory
See how a warp turns address patterns into memory transactions and why strided access can waste bandwidth.
Shared memory
Learn why conflicting bank addresses serialize a warp request, how broadcasts differ, and when padding helps.
A repeatable method
Try your own kernel
Use a managed NVIDIA GPU without installing a local CUDA toolchain.
Open the CUDA playground