Writing
Every post, newest first. 14 so far.
2024
- xGeMM Chapter 6: Vectorized Memory AccessesExplaining vectorized memory accesses in GPUs.
- xGeMM Chapter 5: 2D Thread Coarsening using GPU RegistersExplaining 2D thread coarsening using GPU registers.
- xGeMM Chapter 4: 1D Thread Coarsening using GPU RegistersExplaining 1D thread coarsening using GPU registers.
- xGeMM Chapter 3: GPU Shared MemoryExplaining shared memory in GPUs.
- xGeMM Chapter 2: GPU Global Memory CoalescingExplaining memory coalescing in GPUs.
- xGeMM Chapter 1: Getting Started with CUDA ProgrammingA simple introduction explaining how to get started with CUDA.
- xGeMM: GPU Accelerated Matrix Multiplication (almost) like cuBLASProgramming general matrix multiplication from scratch in CUDA.
- Programming NVIDIA Tensor CoresA simple introduction explaining how to program NVIDIA's tensor cores.
2022
2021
- Automatic differentiation (forward mode)Forward mode Automatic differentiation from scratch.
- Finite Differences to evaluate derivativesFinite Differences is a stepping stone to understand Automatic Differentiation.
- A high level introduction to Cache MemoriesWhy understanding Caches is very important for any programmer who wants to write an efficient code.