Can search algorithms save large-scale automatic performance tuning?

Prasanna Balaprakash, Stefan M. Wild, Paul D. Hovland

Research output: Contribution to journalConference articlepeer-review

26 Scopus citations

Abstract

Empirical performance optimization of computer codes using autotuners has received significant attention in recent years. Given the increased complexity of computer architectures and scientific codes, evaluating all possible code variants is prohibitively expensive for all but the simplest kernels. One way for autotuners to overcome this hurdle is through use of a search algorithm that finds high-performing code variants while examining relatively few variants. In this paper we examine the search problem in autotuning from a mathematical optimization perspective. As an illustration of the power and limitations of this optimization, we conduct an experimental study of several optimization algorithms on a number of linear algebra kernel codes. We find that the algorithms considered obtain performance gains similar to the optimal ones found by complete enumeration or by large random searches but in a tiny fraction of the computation time.

Original languageEnglish
Pages (from-to)2136-2145
Number of pages10
JournalProcedia Computer Science
Volume4
DOIs
StatePublished - 2011
Externally publishedYes
Event11th International Conference on Computational Science, ICCS 2011 - Singapore, Singapore
Duration: Jun 1 2011Jun 3 2011

Funding

This work was supported by the Office of Advanced Scientific Computing Research, Office of Science, U.S. Department of Energy, under Contract DE-AC02-06CH11357. ∗Corresponding author Email addresses: [email protected] (Prasanna Balaprakash), [email protected] (Stefan M. Wild), [email protected] (Paul D. Hovland)

FundersFunder number
U.S. Department of EnergyDE-AC02-06CH11357
Office of Science
Advanced Scientific Computing Research

    Keywords

    • Autotuning
    • Empirical tuning
    • Optimization
    • Performance-tuning

    Fingerprint

    Dive into the research topics of 'Can search algorithms save large-scale automatic performance tuning?'. Together they form a unique fingerprint.

    Cite this