An Autotuning Framework for Scalable Execution of Tiled Code via Iterative Polyhedral Compilation

Yukinori Sato, Tomoya Yuki, Toshio Endo · ACM Transactions on Architecture and Code Optimization · 2018

On modern many-core CPUs, performance tuning against complex memory subsystems and scalability for parallelism is mandatory to achieve their potential. In this article, we focus on loop tiling, which plays an important role in performance tuning, and develop a novel framework that analytically models the load balance and empirically autotunes unpredictable cache behaviors through iterative polyhedral compilation using LLVM/Polly. From an evaluation on many-core CPUs, we demonstrate that our autotuner achieves a performance superior to those that use conventional static approaches and well-known autotuning heuristics. Moreover, our autotuner achieves almost the same performance as a brute-force search-based approach.

Read the paper · More papers on PaperTik