How Kernel Fusion Drastically Cuts LLM Memory Traffic
The core strategy of kernel fusion is to combine multiple operations into a single GPU kernel, keeping intermediate results in faster on-chip memory like registers or SRAM, thus avoiding costly trips to slower High-Bandwidth Memory (HBM).