Bayesian Optimization for auto-tuning GPU kernels

Open Access
Authors
Publication date 2021
Book title 2021 International Workshop on Performance Modeling, Benchmarking and Simulation of High Performance Computer Systems (PMBS 2021)
Book subtitle St. Louis, Missouri, USA, 15 November 2021
ISBN
  • 9781665411196
ISBN (electronic)
  • 9781665411189
Event 12th International Workshop on Performance Modeling, Benchmarking and Simulation of High Performance Computer Systems, PMBS 2021
Pages (from-to) 106-117
Number of pages 12
Publisher Piscataway, NJ: IEEE
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract

Finding optimal parameter configurations for tunable GPU kernels is a non-Trivial exercise for large search spaces, even when automated. This poses an optimization task on a nonconvex search space, using an expensive to evaluate function with unknown derivative. These characteristics make a good candidate for Bayesian Optimization, which has not been applied to this problem before. However, the application of Bayesian Optimization to this problem is challenging. We demonstrate how to deal with the rough, discrete, constrained search spaces, containing invalid configurations. We introduce a novel contextual variance exploration factor, as well as new acquisition functions with improved scalability, combined with an informed acquisition function selection mechanism. By comparing the performance of our Bayesian Optimization implementation on various test cases to the existing search strategies in Kernel Tuner, as well as other Bayesian Optimization implementations, we demonstrate that our search strategies generalize well and consistently outperform other search strategies by a wide margin.

Document type Conference contribution
Note The CORTEX project has received funding from the Dutch Research Council (NWO) in the framework of the NWA-ORC Call (file number NWA.1160.18.316).
Language English
Published at https://doi.org/10.1109/PMBS54543.2021.00017
Other links https://www.proceedings.com/61976.html https://www.scopus.com/pages/publications/85124551465
Downloads
Permalink to this page
Back