paper-with-me

홈 › Papers

Autotuning Search Space for Loop Transformations

2020-10-13 · Michael Kruse, Hal Finkel, Xingfu Wu

One of the challenges for optimizing compilers is to predict whether applying an optimization will improve its execution speed. Programmers may override the compiler's profitability heuristic using optimization directives such as pragmas in the source code. Machine learning in the form of autotuning can assist users in finding the best optimizations for each platform. In this paper we propose a loop transformation search space that takes the form of a tree, in contrast to previous approaches that usually use vector spaces to represent loop optimization configurations. We implemented a simple autotuner exploring the search space and applied it to a selected set of PolyBench kernels. While the autotuner is capable of representing every possible sequence of loop transformations and their relations, the results motivate the use of better search strategies such as Monte Carlo tree search to find sophisticated loop transformations such as multilevel tiling.

📄 PDF Abstract BibTeX arXiv:2010.06521

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Autotuning PolyBench Benchmarks with LLVM Clang/Polly Loop Optimization Pragmas Using Bayesian Optimization (extended version)

2021-04-27 · Xingfu Wu, Michael Kruse, Prasanna Balaprakash, Hal Finkel 외

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 ev…

Bayesian Optimization

Autotuning PolyBench Benchmarks with LLVM Clang/Polly Loop Optimization Pragmas Using Bayesian Optimization

2020-10-15 · Xingfu Wu, Michael Kruse, Prasanna Balaprakash, Hal Finkel 외

An autotuning is an approach that explores a search space of possible implementations/configurations of a kernel or an application by selecting and evaluating a subset of implementations/configurations on a target platfo…

Bayesian Optimization

Performance Embeddings: A Similarity-based Approach to Automatic Performance Optimization

2023-03-14 · Lukas Trümper, Tal Ben-Nun, Philipp Schaad, Alexandru Calotoiu 외

Performance optimization is an increasingly challenging but often repetitive task. While each platform has its quirks, the underlying code transformations rely on data movement and computational characteristics that recu…

Transfer Learning

Using hardware performance counters to speed up autotuning convergence on GPUs

2021-02-10 · Jiří Filipovič, Jana Hozzová, Amin Nezarat, Jaroslav Oľha 외

Nowadays, GPU accelerators are commonly used to speed up general-purpose computing tasks on a variety of hardware. However, due to the diversity of GPU architectures and processed data, optimization of codes for a partic…

GPUNavigate

Customized Monte Carlo Tree Search for LLVM/Polly's Composable Loop Optimization Transformations

2021-05-10 · Jaehoon Koo, Prasanna Balaprakash, Michael Kruse, Xingfu Wu 외

Polly is the LLVM project's polyhedral loop nest optimizer. Recently, user-directed loop transformation pragmas were proposed based on LLVM/Clang and Polly. The search space exposed by the transformation pragmas is a tre…