arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Hardware and Architecture

General-Purpose Graphics Processing Units (GPGPUs)

Tianyi David, Han Tarek, S. Abdelrahman

See on the map

Abstract

Branch divergence has a significant impact on the perfor-mance of GPU programs. We propose two novel software-based optimizations, called iteration delaying and branch distribution that aim to reduce branch divergence. Itera-tion delaying targets a divergent branch enclosed by a loop within a kernel. It improves performance by executing loop iterations that take the same branch direction and delay-ing those that take the other direction until later iterations. Branch distribution reduces the length of divergent code by factoring out structurally similar code from the branch paths. We conduct a preliminary evaluation of the two op-timizations using both synthetic benchmarks and a highly-optimized real-world application. Our evaluation shows that they improve the performance of the synthetic benchmarks by as much as 30 % and 80 % respectively, and that of the real-world application by 12 % and 16 % respectively.

More like this