Skip to main navigation Skip to search Skip to main content

Autotuning of OpenCL kernels with global optimizations.

Publications: Contribution to bookContribution to proceedingsPeer Reviewed

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.
Original languageEnglish
Title of host publication1st Workshop on AutotuniNg and aDaptivity AppRoaches for Energy efficient HPC Systems, ANDARE 2017 - A Workshop part of PACT 2017
Subtitle of host publicationPortland OR USA September 9 - 13, 2017
Place of PublicationNew York, NY
PublisherAssociation for Computing Machinery (ACM)
Pages1-6
ISBN (Electronic)978-1-4503-5363-2
DOIs
Publication statusPublished - Sept 2017
EventThe 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

ConferenceThe 1st Workshop on AutotuniNg and aDaptivity AppRoaches for Energy Efficient HPC Systems (ANDARE '17), Portland, Oregon, USA, September, 2017, ACM
Abbreviated titleANDARE'17
Country/TerritoryUnited States
CityPortland, Oregon
Period11/09/17 → …

Austrian Fields of Science 2012

  • 102023 Supercomputing

Cite this