Abstract
Autotuning is an important method for automatically exploring code optimizations. It may target low-level code optimizations, such as memory blocking, loop unrolling or memory prefetching, as well as high-level optimizations, such as placement of computation kernels on proper hardware devices, optimizing memory transfers between nodes or between accelerators and main memory.
In this paper, we introduce an autotuning method, which extends state-of-the-art low-level tuning of OpenCL or CUDA kernels towards more complex optimizations. More precisely, we introduce a Kernel Tuning Toolkit (KTT), which implements inter-kernel global optimizations, allowing to tune parameters affecting multiple kernels or also the host code. We demonstrate on practical examples, that with global kernel optimizations we are able to explore tuning options that are not possible if kernels are tuned separately. Moreover, our tuning strategies can take into account numerical accuracy across multiple kernel invocations and search for implementations within specific numerical error bounds.
In this paper, we introduce an autotuning method, which extends state-of-the-art low-level tuning of OpenCL or CUDA kernels towards more complex optimizations. More precisely, we introduce a Kernel Tuning Toolkit (KTT), which implements inter-kernel global optimizations, allowing to tune parameters affecting multiple kernels or also the host code. We demonstrate on practical examples, that with global kernel optimizations we are able to explore tuning options that are not possible if kernels are tuned separately. Moreover, our tuning strategies can take into account numerical accuracy across multiple kernel invocations and search for implementations within specific numerical error bounds.
| Original language | English |
|---|---|
| Title of host publication | 1st Workshop on AutotuniNg and aDaptivity AppRoaches for Energy efficient HPC Systems, ANDARE 2017 - A Workshop part of PACT 2017 |
| Subtitle of host publication | Portland OR USA September 9 - 13, 2017 |
| Place of Publication | New York, NY |
| Publisher | Association for Computing Machinery (ACM) |
| Pages | 1-6 |
| ISBN (Electronic) | 978-1-4503-5363-2 |
| DOIs | |
| Publication status | Published - Sept 2017 |
| Event | The 1st Workshop on AutotuniNg and aDaptivity AppRoaches for Energy Efficient HPC Systems (ANDARE '17), Portland, Oregon, USA, September, 2017, ACM - Portland, Portland, Oregon, United States Duration: 11 Sept 2017 → … |
Conference
| Conference | The 1st Workshop on AutotuniNg and aDaptivity AppRoaches for Energy Efficient HPC Systems (ANDARE '17), Portland, Oregon, USA, September, 2017, ACM |
|---|---|
| Abbreviated title | ANDARE'17 |
| Country/Territory | United States |
| City | Portland, Oregon |
| Period | 11/09/17 → … |
Austrian Fields of Science 2012
- 102023 Supercomputing
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver