A Strategy for Automatic Performance Tuning of Stencil Computations on GPUs
Joint Authors
Garvey, Joseph
Abdelrahman, Tarek S.
Source
Issue
Vol. 2018, Issue 2018 (31 Dec. 2018), pp.1-24, 24 p.
Publisher
Hindawi Publishing Corporation
Publication Date
2018-05-28
Country of Publication
Egypt
No. of Pages
24
Main Subjects
Abstract EN
We propose and evaluate a novel strategy for tuning the performance of a class of stencil computations on Graphics Processing Units.
The strategy uses a machine learning model to predict the optimal way to load data from memory followed by a heuristic that divides other optimizations into groups and exhaustively explores one group at a time.
We use a set of 104 synthetic OpenCL stencil benchmarks that are representative of many real stencil computations.
We first demonstrate the need for auto-tuning by showing that the optimization space is sufficiently complex that simple approaches to determining a high-performing configuration fail.
We then demonstrate the effectiveness of our approach on NVIDIA and AMD GPUs.
Relative to a random sampling of the space, we find configurations that are 12%/32% faster on the NVIDIA/AMD platform in 71% and 4% less time, respectively.
Relative to an expert search, we achieve 5% and 9% better performance on the two platforms in 89% and 76% less time.
We also evaluate our strategy for different stencil computational intensities, varying array sizes and shapes, and in combination with expert search.
American Psychological Association (APA)
Garvey, Joseph& Abdelrahman, Tarek S.. 2018. A Strategy for Automatic Performance Tuning of Stencil Computations on GPUs. Scientific Programming،Vol. 2018, no. 2018, pp.1-24.
https://search.emarefa.net/detail/BIM-1214722
Modern Language Association (MLA)
Garvey, Joseph& Abdelrahman, Tarek S.. A Strategy for Automatic Performance Tuning of Stencil Computations on GPUs. Scientific Programming No. 2018 (2018), pp.1-24.
https://search.emarefa.net/detail/BIM-1214722
American Medical Association (AMA)
Garvey, Joseph& Abdelrahman, Tarek S.. A Strategy for Automatic Performance Tuning of Stencil Computations on GPUs. Scientific Programming. 2018. Vol. 2018, no. 2018, pp.1-24.
https://search.emarefa.net/detail/BIM-1214722
Data Type
Journal Articles
Language
English
Notes
Includes bibliographical references
Record ID
BIM-1214722