the.ai

Compilers / Methods

verified

Operator Fusion Pass

Kernel Fusion is the thing being done — merging operations so intermediate values never reach memory. This is the compiler pass that decides which ones to merge, automatically, over a whole graph rather than by hand. The decision is a partition of the graph, and the number of possible partitions is why it is a search problem rather than a rule.

Viz primitive · budget-splitfused-ops = 6

fused-ops holds 50% of the budget; rest holds the remaining 50%.

Operations merged into one kernel against those left as separate launches, in operations. Drag the fusion up to watch intermediate values stop reaching memory — which is the saving, and it is bounded by what the pass is allowed to merge.

6

Reviewed by opendroid · 2026-08-18

  • arXiv:1802.04799 — TVM: An Automated End-to-End Optimizing Compiler for Deep Learning