Towards analysis and refinement of auto-tuning spaces
Abstract
Source code-level auto-tuning enables applications to adapt their implementation to maintain peak performance under varying execution environments (i.e. hardware, input, or application settings). However, the performance of the autotuned code is inherently tied to the design of the tuning space (the space of possible changes to the code). An ideal tuning space must include configurations diverse enough to ensure high performance across all targeted environments while simultaneously eliminating redundant or inefficient regions that slow the tuning space search process. Traditional research has focused primarily on identifying optimization opportunities expressed in tuning spaces and on their efficient search. However, there is no rigorous methodology or tool supporting analysis and refinement of the tuning spaces, allowing for the addition of configurations that perform well in an unseen environment or the removal of configurations that perform poorly in any realistic environment.In this short communication, we argue that hardware performance counters should be used to analyze tuning spaces, and that such an analysis would allow for the refinement of tuning spaces by adding configurations that unlock additional performance in unseen environments and removing those unlikely to produce efficient code in any realistic environment. While our primary goal is to introduce this research question and foster discussion, we also present a preliminary methodology for tuning-space analysis. We validate our approach through a case study using a GPU implementation of an N-body simulation. Our results demonstrate that the proposed analysis can detect the weaknesses of a tuning space. When refined, the tuning space improves the average configuration performance 3.3×, and improves the best-performing configuration by 2 − 18%.
Fields of Study & Subjects
Parallel Computing and Optimization Techniques
Embedded Systems Design Techniques
Computer Graphics and Visualization Techniques
Publication details
- Journal / source
- Parallel Computing
- Volume
- 127
- Pages
- 103185–103185
- Publication date
- 17 January 2026
- Language
- EN