CUDA C++ Tutorial with Examples.
CUDA C++ tutorial for GPU kernel development: thread hierarchies, shared memory, warp primitives and performance tuning.
Beginner
Start here — no prior experience needed
Intermediate
For developers with core concepts down
Advanced
Production-grade patterns for experienced engineers
CUDA Atomics & Parallel Reductions
See a data race lose updates, fix it with atomicAdd, measure atomic contention, and build fast block and warp reductions in CUDA C++ on a Tesla T4.
CUDA C++: Streams, Async Copies and Overlap
Overlap copies and kernels with CUDA streams on a Tesla T4: pinned vs pageable memory, a 4-stream pipeline in nsys, the default-stream trap, events.
Also part of CUDA C++
Taught in other topics. Each link opens the lesson in its home topic.
GPU Fundamentals: Coalescing & Occupancy
Measure how coalesced memory access and occupancy change GPU bandwidth, with CUDA programs timed on a real Tesla T4: strides, layouts and block sizes.
CUDA Performance Tuning & Profiling
Profile CUDA on a Tesla T4: time launch overhead, read nsys API and kernel summaries, use the occupancy API, and measure achieved occupancy with ncu.