Bayesian Optimization for auto-tuning GPU kernels

被引:8
|
作者
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
基金
荷兰研究理事会;
关键词
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 条
  • [41] Auto-tuning GEMM kernels on the Intel KNL and Intel Skylake-SP processors
    Roktaek Lim
    Yeongha Lee
    Raehyun Kim
    Jaeyoung Choi
    Myungho Lee
    The Journal of Supercomputing, 2019, 75 : 7895 - 7908
  • [42] Matrix Multiplication Beyond Auto-Tuning: Rewrite-based GPU Code Generation
    Steuwer, Michel
    Remmelg, Toomas
    Dubach, Christophe
    2016 INTERNATIONAL CONFERENCE ON COMPILERS, ARCHITECTURE AND SYNTHESIS FOR EMBEDDED SYSTEMS (CASES), 2016,
  • [43] Sample, Estimate, Tune: Scaling Bayesian Auto-tuning of Data Science Pipelines
    Anderson, Alec
    Dubois, Sebastien
    Cuesta-Infante, Alfredo
    Veeramachaneni, Kalyan
    2017 IEEE INTERNATIONAL CONFERENCE ON DATA SCIENCE AND ADVANCED ANALYTICS (DSAA), 2017, : 361 - 372
  • [44] Application of Particle Swarm Optimization for Auto-Tuning of the Urban Flood Model
    Jiang, Lechuan
    Tajima, Yoshimitsu
    Wu, Lianhui
    WATER, 2022, 14 (18)
  • [45] Auto-tuning of PID controller parameters with supervised receding horizon optimization
    Xu, M
    Li, SY
    Qi, CK
    Cai, WJ
    ISA TRANSACTIONS, 2005, 44 (04) : 491 - 500
  • [46] An innovative method for optimization based, high order controller auto-tuning
    Zimmerman, Yaron
    Gutman, Per-Olof
    2013 AMERICAN CONTROL CONFERENCE (ACC), 2013, : 352 - 357
  • [47] An MCFC operation optimization strategy based on PID auto-tuning control
    Lee, Donghyeon
    Cheon, Yujin
    Ryu, Jun-Hyung
    Lee, In-Beum
    INTERNATIONAL JOURNAL OF HYDROGEN ENERGY, 2017, 42 (40) : 25518 - 25530
  • [48] Parallel computing based parameter auto-tuning algorithm for optimization solvers
    Shao, Z. (zjshao@iipc.zju.edu.cn), 2013, Materials China (64):
  • [49] A new PID auto-tuning strategy with operational optimization for MCFC systems
    Cheon, Yujin
    Lee, Donghyun
    Lee, In-Beum
    Sung, Su Whan
    2013 9TH ASIAN CONTROL CONFERENCE (ASCC), 2013,
  • [50] 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