Bayesian Optimization for auto-tuning GPU kernels

被引:10
作者
Willemsen, Floris-Jan [1 ]
van Nieuwpoort, Rob [1 ]
van Werkhoven, Ben [2 ]
机构
[1] Univ Amsterdam, Netherlands eSci Ctr, Amsterdam, Netherlands
[2] Netherlands eSci Ctr, Amsterdam, Netherlands
来源
PROCEEDINGS OF PERFORMANCE MODELING, BENCHMARKING AND SIMULATION OF HIGH PERFORMANCE COMPUTER SYSTEMS (PMBS 2021) | 2021年
基金
荷兰研究理事会;
关键词
Optimization; Bayesian Optimization; autotuning; GPU Computing; machine learning;
D O I
10.1109/PMBS54543.2021.00017
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:106 / 117
页数:12
相关论文
共 50 条
  • [31] A new particle swarm optimization based auto-tuning of PID controller
    Wang, You-Bo
    Peng, Xin
    Wei, Ben-Zheng
    PROCEEDINGS OF 2008 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOLS 1-7, 2008, : 1818 - +
  • [32] Adaptive Auto-Tuning Framework for Global Exploration of Stencil Optimization on GPUs
    Sun, Qingxiao
    Liu, Yi
    Yang, Hailong
    Jiang, Zhonghui
    Luan, Zhongzhi
    Qian, Depei
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2024, 35 (01) : 20 - 33
  • [33] Auto-tuning elastic applications in production
    Sampaio, Adalberto R., Jr.
    Beschastnikh, Ivan
    Maier, Daryl
    Bourne, Don
    Sundaresen, Vijay
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE, ICSE-SEIP, 2023, : 355 - 367
  • [34] AutoPas: Auto-Tuning for Particle Simulations
    Gratl, Fabio
    Seckler, Steffen
    Tchipev, Nikola
    Bungartz, Hans-Joachim
    Neumann, Philipp
    2019 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2019, : 748 - 757
  • [35] Auto-Tuning of Raw Filters for FPGAs
    Hahn, Tobias
    Wildermann, Stefan
    Teich, Jurgen
    2022 32ND INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS, FPL, 2022, : 167 - 175
  • [36] Receding Horizon Optimization Approach to PID Controller Parameters Auto-tuning
    XU Min LI ShaoYuan CAI WenJian Institute of AutomationShanghai Jiaotong UniversityShanghai School of Electrical and Electronic EngineeringNanyang Technological UniversitySingapore
    自动化学报, 2005, (03) : 129 - 133
  • [37] Auto-tuning ejector for refrigeration system
    Wang, Lei
    Liu, Jiapeng
    Zou, Tao
    Du, Jingwei
    Jia, Fengze
    ENERGY, 2018, 161 : 536 - 543
  • [38] Collective mind: Towards practical and collaborative auto-tuning
    Fursin, Grigori
    Miceli, Renato
    Lokhmotov, Anton
    Gerndt, Michael
    Baboulin, Marc
    Malony, Allen D.
    Chamski, Zbigniew
    Novillo, Diego
    Del Vento, Davide
    SCIENTIFIC PROGRAMMING, 2014, 22 (04) : 309 - 329
  • [39] A Note on Auto-tuning GEMM for GPUs
    Li, Yinan
    Dongarra, Jack
    Tomov, Stanimire
    COMPUTATIONAL SCIENCE - ICCS 2009, PART I, 2009, 5544 : 884 - 892
  • [40] PI and PID auto-tuning procedure based on simplified single parameter optimization
    Ariel Romero, Julio
    Sanchis, Roberto
    Balaguer, Pedro
    JOURNAL OF PROCESS CONTROL, 2011, 21 (06) : 840 - 851