Recent advances in graphics processing units (GPUs) have resulted in massively parallel hardware that is easily programmable and widely available in commodity desktop computer systems. GPUs typically use single-instruction, multiple-data (SIMD) pipelines to achieve high performance with minimal overhead for control hardware. Scalar threads running the same computing kernel are grouped together into SIMD batches, sometimes referred to as warps. While SIMD is ideally suited for simple programs, recent GPUs include control flow instructions in the GPU instruction set architecture and programs using these instructions may experience reduced performance due to the way branch execution is supported by hardware. One solution is to add a stack to allow different SIMD processing elements to execute distinct program paths after a branch instruction. The occurrence of diverging branch outcomes for different processing elements significantly degrades performance using this approach. In this thesis, we propose dynamic warp formation and scheduling, a mechanism for more efficient SIMD branch execution on GPUs. It dynamically regroups threads into new warps on the fly following the occurrence of diverging branch outcomes. We show that a realistic hardware implementation of this mechanism improves performance by an average of 47% for an estimated area increase of 8%.
[1]
Wilson W. L. Fung,et al.
Rotation, scaling, and translation-invariant multi-bit watermarking based on log-polar mapping and discrete Fourier transform
,
2005,
2005 IEEE International Conference on Multimedia and Expo.
[2]
Andrew E. Turner,et al.
Visualizing complex dynamics in many-core accelerator architectures
,
2010,
2010 IEEE International Symposium on Performance Analysis of Systems & Software (ISPASS).
[3]
Tor M. Aamodt,et al.
Dynamic Warp Formation and Scheduling for Efficient GPU Control Flow
,
2007,
40th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO 2007).
[4]
Robert Rohling,et al.
PUPIL: Programmable Ultrasound Platform and Interface Library
,
2003,
International Conference on Medical Image Computing and Computer-Assisted Intervention.
[5]
Tor M. Aamodt,et al.
Dynamic warp formation: Efficient MIMD control flow on SIMD graphics hardware
,
2009,
TACO.