PH.D DEFENCE - PUBLIC SEMINAR

Autotuning Systems for Compiler Optimization

Speaker
Mr. Li Wei
Advisor
Dr Weng-Fai Wong, Associate Professor, School of Computing


24 Nov 2026 Tuesday, 03:00 PM to 04:30 PM

MR1, COM1-03-19

Abstract:

As Moore’s Law slows, performance gains increasingly rely on specialized hardware—from CPUs and GPUs to spatial dataflow accelerators—challenging traditional static compiler heuristics. We argue that compiler autotuning should evolve from opaque, feedback-driven search to increasingly structured and deterministic performance reasoning. We formalize this progression as a spectrum of search spaces: black-box (CPU), gray-box (GPU), and white-box (dataflow), each requiring fundamentally different optimization strategies.

For CPUs, we present CARBS, a probabilistic autotuning framework that efficiently explores a vast, black-box optimization space by biasing sampling toward beneficial compiler flags, achieving consistent speedups up to 18% over -O3 across standard benchmarks and SPEC CPU 2017. To address the remaining bottleneck of repeated target-side measurement, we further introduce PTuner, a resource-aware parallel measurement framework that puts idle multicore resources to work while controlling and correcting for interference, achieving 7.3–13.2× geometric-mean end-to-end tuning speedup across three autotuners with minimal loss in optimization quality.

For GPUs, we introduce Texplorer, a gray-box approach that leverages architectural constraints through analytical modeling and multi-stage pruning, reducing billions of candidates to a tractable set while maintaining state-of-the-art performance with up to 300x faster search.

For spatial accelerators, we present TileLoom, a white-box framework that shifts autotuning into explicit program–hardware co-planning, optimizing data placement and communication to outperform vendor libraries by up to 1.91x.

Overall, this thesis demonstrates that as hardware becomes more specialized, autotuning must transition from search to structured reasoning and planning.