Abstract
This article proposes the Coding Ants framework, an approach for auto-tuning which uses ant colony optimization to find a sequence of code optimizations for GPU architectures. The proposed framework is built as an extension to the PPCG compiler, a source-to-source code generator based on the polyhedral model and specializing in the generation of CUDA code. As such, the Coding Ants framework is able to use the polyhedral abstraction to represent a large space of possible transformations. Several optimizations are also presented which have not been included in any previous GPU auto-tuning system. The proposed framework also extends the traditional ant colony optimization algorithm to include performance metrics as well as a regression tree analysis to segment the search space. We evaluate the framework on the PolyBench suite and compare the performance of three levels of optimization that transfer increasing control to the Coding Ants framework from the PPCG cost model.
| Original language | English |
|---|---|
| Pages (from-to) | 119-138 |
| Number of pages | 20 |
| Journal | Computer Languages, Systems and Structures |
| Volume | 54 |
| DOIs | |
| State | Published - Dec 2018 |
Keywords
- Ant colony optimization
- Automatic optimization
- Autotuning
- CUDA
- GPU optimization
- Polyhedral model
Fingerprint
Dive into the research topics of 'Coding Ants: Optimization of GPU code using ant colony optimization'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver