標題: | Efficient and Portable Workgroup Size Tuning |
作者: | Yu, Chia-Lin Tsao, Shiao-Li 資訊工程學系 Department of Computer Science |
關鍵字: | Tuning;Performance evaluation;Kernel;Hardware;Indexes;Computational modeling;Graphics processing units;OpenCL;workgroup size selection;automatic performance tuning;microbenchmarking |
公開日期: | 1-二月-2020 |
摘要: | The performance of an OpenCL program is strongly influenced by both hardware and software attributes. To achieve superior performance, developers may leverage automatic performance tuning techniques to determine the optimal parameters on the target device. Although existing approaches have shown promising tuning results in their target scenarios, other requirements such as efficiency, portability, and usability should also be considered because of the rapid growth of heterogeneous computing applications and platforms. In this paper, we re-examine the workgroup size tuning problem and propose a novel approach to meet the aforementioned requirements. We abstract the architectural details into a set of hardware parameters so that the proposed approach can be applied without the presence of target devices, which makes it more accessible to developers. The proposed approach is evaluated on 20 OpenCL kernels and six devices, including both CPUs and GPUs. Experimental results demonstrate that, with negligible overhead, our approach filters out 88.6 percent of the possible workgroup sizes on average. Among all the workgroup size candidates, the best- and worst-performing candidates can achieve average performance of 95.5 and 92.1 percent, respectively, compared with the optimal workgroup size. |
URI: | http://dx.doi.org/10.1109/TPDS.2019.2937295 http://hdl.handle.net/11536/153558 |
ISSN: | 1045-9219 |
DOI: | 10.1109/TPDS.2019.2937295 |
期刊: | IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS |
Volume: | 31 |
Issue: | 2 |
起始頁: | 455 |
結束頁: | 469 |
顯示於類別: | 期刊論文 |