ILP Arranges Loop Interchange for Data Locality

Integer Linear Programming identifies the most effective order for nested loops, optimizing memory access patterns and ensuring contiguous data access for multi-dimensional tensors, a key for LLM throughput.

Sources

Open the full topic