18419

Kernel Tuner: A search-optimizing GPU code auto-tuner

Ben van Werkhoven
Netherlands eScience Center, Science Park 140, 1098 XG Amsterdam, the Netherlands
Future Generation Computer Systems, 2018

@article{van2018kernel,

   title={Kernel Tuner: A search-optimizing GPU code auto-tuner},

   author={van Werkhoven, Ben},

   journal={Future Generation Computer Systems},

   year={2018},

   publisher={Elsevier}

}

A very common problem in GPU programming is that some combination of thread block dimensions and other code optimization parameters, like tiling or unrolling factors, results in dramatically better performance than other kernel configurations. To obtain highly-efficient kernels it is often required to search vast and discontinuous search spaces that consist of all possible combinations of values for all tunable parameters. This paper presents Kernel Tuner, an easy-to-use tool for testing and auto-tuning OpenCL, CUDA, and C kernels with support for many search optimization algorithms that accelerate the tuning process. This paper introduces the application of many new solvers and global optimization algorithms for auto-tuning GPU applications. We demonstrate that Kernel Tuner can be used in a wide range of application scenarios and drastically decreases the time spent tuning, e.g. tuning a GEMM kernel on AMD Vega Frontier Edition 71.2x faster than brute force search.
Rating: 4.7/5. From 10 votes.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: