A compact index for engineers building, profiling, and optimizing CUDA software. This repository links to maintained primary material instead of reproducing it.
Start with the GPU Core Principles slide deck — three visual explanations of CPU versus GPU architecture, throughput through parallelism, and latency hiding through warp scheduling. The editable HTML source is included.
Stephen Jones's GTC series progresses from GPU fundamentals to CUDA program design and optimization:
- How GPU Computing Works — GTC 2021; GPU execution, latency, throughput, and performance limits.
- How CUDA Programming Works — GTC 2022; how CUDA maps programs and work onto GPU hardware.
- How to Write a CUDA Program — GTC 2023; a first-principles CUDA development workflow.
- How To Write A CUDA Program: The Ninja Edition — GTC 2024; parallel decomposition and techniques for extracting GPU performance.
- How To Write A CUDA Program: The Parallel Programming Edition — GTC 2025; parallel algorithms, CPU/GPU differences, and hardware-aware design.
Then use the written references and examples:
- Read what GPUs are and why they are used.
- Learn the CUDA programming model.
- Write a first program in CUDA C++ or CUDA Python.
- Continue with the introductory examples in this repository.
- NVIDIA Training / Deep Learning Institute (DLI) — hands-on, GPU-backed courses and workshops in CUDA and accelerated computing.
- CUDA Programming Guide — programming model, CUDA C++, CUDA Python, execution, memory, and advanced features.
- NVIDIA Accelerated Computing Hub — open tutorials and user guides for GPU programming.
- CUDA Toolkit Documentation — current toolkit documentation and architecture tuning guides.
- CUDA C++ Best Practices Guide — performance and correctness guidance for CUDA C++.
- CUDA Samples — maintained feature examples; not a validation or benchmarking suite.
- CUDA Library Samples — examples for CUDA-X math, image, signal-processing, and data-processing libraries.
- Compute Sanitizer — memory, race, initialization, and synchronization checking.
- Define correctness checks and a representative workload.
- Prefer maintained libraries or primitives before writing a custom kernel.
- Establish a reproducible baseline; record the GPU, driver, toolkit, problem size, and build configuration.
- Use Nsight Systems to locate application-level bottlenecks.
- Use Nsight Compute only on kernels that materially affect the workload; make one change and remeasure.
- Example 1: vector multiplication and launch parallelism
- Example 2: window operations and shared-memory exploration
- CUDA Performance and Optimization Guide — GPU hardware, bottleneck analysis, optimization techniques, profiling workflows, and worked examples.
The documentation site is built from docs/ with MkDocs. For a local preview:
python -m pip install --requirement requirements-docs.txt
mkdocs serve- Compute capabilities — supported features and hardware limits by compute capability.
- Use the architecture tuning guides from the CUDA documentation for architecture-specific behavior. Treat whitepapers as architectural overviews, not programming contracts.
Public NVIDIA architecture papers for CUDA-capable GPUs, newest first:
- Blackwell: Architecture technical overview
- Hopper: H100 / GH100
- Ada Lovelace: AD102
- Ampere: A100 / GA100 · GA102
- Turing: TU102
- Volta: V100 / GV100
- Pascal: P100 / GP100 · [GTX 1080 / GP104]
Rubin: NVIDIA has published an official GPU architecture deep dive, but not an architecture whitepaper.
These are useful for techniques and recorded talks. Confirm version-sensitive behavior against current documentation.
- Real-time GPU optimization notes — prescriptive PCIe, NUMA, power, and kernel configuration guidance for RHEL, CentOS, and Rocky Linux systems.
- GPU System Diagnostics — short, read-only PCIe and NUMA checks.