Latest posts

All 22 posts →

Tech

GPU Memory Hierarchy and Memory Optimization

How data moves inside a GPU and how to optimize that movement. Optimize a CUDA matrix transpose kernel progressively, measure performance, and explain each improvement at the hardware level.

4 min read

Tech

GPU Architecture and Execution Model

Understand how CUDA code maps onto physical GPU hardware, how GPU resources are utilized, and why different kernel configurations produce different performance.

14 min read

AI & Deep Learning

TensorRT Engine Deployment Guide

Overview. Building and using a TensorRT engine for inference involves two distinct phases: build time (optimization) and runtime (execution). Build time (optimization and compilation) Load model typically from format…

5 min read

Tech

GPU Architecture Overview

CPU and GPU. CPU is designed to excel at executing a sequence of operations, called a thread. It can execute a few tens of threads in parallel. General purpose, good for serial processing, great for task parallelism…

10 min read

Code

Time and Space Complexity

Time and Space Complexity. When analyzing an algorithm, we care about how efficient it is. Two main measures are: Type What It Measures Goal Time Complexity How long the algorithm takes (number of operations as input…

6 min read

Explore topics