Autotuning PolyBench Benchmarks with LLVM Clang/Polly Loop Optimization Pragmas Using Bayesian Optimization (extended version)
Not on the map. Why?
Abstract (arXiv)
In this paper, we develop a ytopt autotuning framework that leverages Bayesian optimization to explore the parameter space search and compare four different supervised learning methods within Bayesian optimization and evaluate their effectiveness. We select six of the most complex PolyBench benchmarks and apply the newly developed LLVM Clang/Polly loop optimization pragmas to the benchmarks to optimize them. We then use the autotuning framework to optimize the pragma parameters to improve their performance. The experimental results show that our autotuning approach outperforms the other compiling methods to provide the smallest execution time for the benchmarks syr2k, 3mm, heat-3d, lu, and covariance with two large datasets in 200 code evaluations for effectively searching the parameter spaces with up to 170,368 different configurations. We find that the Floyd-Warshall benchmark did not benefit from autotuning because Polly uses heuristics to optimize the benchmark to make it run much slower. To cope with this issue, we provide some compiler option solutions to improve the performance. Then we present loop autotuning without a user's knowledge using a simple mctree autotuning framework to further improve the performance of the Floyd-Warshall benchmark. We also extend the ytopt autotuning framework to tune a deep learning application.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 9 of its 106 references that are in the map. First posted on arXiv 27 Apr 2021.
Builds on
9 of 106 references.
References · 9
- 2018A Survey on Compiler Autotuning using Machine Learningcited by 40
- 2017CLTune: A Generic Auto-Tuner for OpenCL Kernelscited by 25
- 2019BOAH: A Tool Suite for Multi-Fidelity Bayesian Optimization & Analysis of Hyperparameterscited by 25
- 2020ProTuner: Tuning Programs with Monte Carlo Tree Searchcited by 9
- 2020Autotuning Search Space for Loop Transformationscited by 6
- 2014Towards Autotuning of OpenMP Applications on Multicore Architecturescited by 3
- 2018User-Directed Loop-Transformations in Clangcited by 3
- 2019On the Representation of Partially Specified Implementations and its Application to the Optimization of Linear Algebra Kernels on GPUcited by 3
- 2020Toward an End-to-End Auto-tuning Framework in HPC PowerStackcited by 2
Built on by
Citing papers per year: 2021: 1.
1 paper.
- 2021Bayesian Optimization for auto-tuning GPU kernelscited by 0
- 2021Bayesian Optimization for auto-tuning GPU kernels26 Nov 2021