Structured projects, concept guides, and browser-based GPU sandboxes for C/C++ developers who want to master parallel computing.
__global__ void vectorAdd( float *a, float *b, float *c, int n ) { int i = blockIdx.x * blockDim.x + threadIdx.x; if (i < n) c[i] = a[i] + b[i]; }
The 'Hello World' of GPU programming. Add two arrays element-wise on the GPU, then measure memory bandwidth to understand the roofline model.
Write your first GPU kernel and understand the CUDA execution model: thread indexing, kernel launch syntax, and GPU/CPU synchronization.
Implement matrix transpose three times — naive, shared memory, and bank-conflict-free — and benchmark each version. This project exposes why memory access patterns dominate GPU performance.
GPU Thread Hierarchy CUDA organizes parallel work into a three-level hierarchy: threads → blocks → grids. Eve…
MemoryCUDA Memory Hierarchy CUDA exposes several distinct memory spaces with different scope, lifetime, latency, an…
MemoryGlobal Memory Coalescing Global memory (device DRAM) is served in 128-byte cache line transactions. Whether a…
Sign up free and track your progress across every project and concept guide.
Create free account