Branch Prediction & Speculation
Replay branch outcomes to compare predictors, then connect local and global history to speculative execution, recovery and profiling.
Related
9 min read · intermediate
Clear explanations of core machine learning concepts, from foundational ideas to advanced techniques. Understand attention mechanisms, transformers, skip connections, and more.
Replay branch outcomes to compare predictors, then connect local and global history to speculative execution, recovery and profiling.
9 min read · intermediate
Compare scaled and unscaled attention on the same dot products, then derive the square-root scaling factor and its limits.
6 min read · intermediate
Match detections to objects, inspect precision–recall curves, calculate average precision, and distinguish confidence thresholds from IoU thresholds.
4 min read · beginner
Interactive guide to MSE vs MAE for regression: explore outlier sensitivity, gradient behavior, and Huber loss with visualizations.
9 min read
How HNSW, IVF-PQ, and LSH compare for approximate nearest neighbor (ANN) search — recall, latency, memory, build cost, and update characteristics — with Annoy, ScaNN, and DiskANN included for completeness.
15 min read · intermediate
CUDA page migration and fault handling between CPU and GPU memory. Learn TLB management, DMA transfers, and memory optimization.
16 min read · advanced