A large-scale cross-architecture evaluation of thread-coarsening
A large-scale cross-architecture evaluation of thread-coarsening
复制标题
DOI:
10.1145/2503210.2503268
复制
发表时间:
2013-11
期刊:
影响因子:
--
通讯作者:
A. Magni;Christophe Dubach;M. O’Boyle
中科院分区:
文献类型:
--
作者:
A. Magni;Christophe Dubach;M. O’Boyle
OpenCL has become the de-facto data parallel programming model for parallel devices in today's high-performance supercomputers. OpenCL was designed with the goal of guaranteeing program portability across hardware from different vendors. However, achieving good performance is hard, requiring manual tuning of the program and expert knowledge of each target device. In this paper we consider a data parallel compiler transformation - thread-coarsening - and evaluate its effects across a range of devices by developing a source-to-source OpenCL compiler based on LLVM. We thoroughly evaluate this transformation on 17 benchmarks and five platforms with different coarsening parameters giving over 43,000 different experiments. We achieve speedups over 9x on individual applications and average speedups ranging from 1.15x on the Nvidia Kepler GPU to 1.50x on the AMD Cypress GPU. Finally, we use statistical regression to analyse and explain program performance in terms of hardware-based performance counters.