GPU kernel fusion can be performed either manually, by a developer explicitly hand-writing one single combined fused kernel themselves, or automatically, by a compiler framework like Triton or TorchInductor that analyzes an existing sequence of separate individual operations and then automatically generates an equivalent single fused kernel on the developer's own behalf. This manual-versus-automatic-fusion distinction matters practically because automatic compiler-driven fusion considerably reduces the developer effort genuinely required to actually achieve kernel fusion's performance benefit, though manual hand-written fusion can sometimes still achieve somewhat better performance for certain especially performance-critical specific operation sequences.