1. [Publications](/publications)
2. Exploring the Design Space of SPMD Divergence Management on Data-Parallel Architectures
 
 # Exploring the Design Space of SPMD Divergence Management on Data-Parallel Architectures

  ![](/sites/default/files/styles/wide/public/publications/hwacha.PNG?itok=XHL-cpQD)

 Data-parallel architectures must provide efficient support for complex control-flow constructs to support sophisticated applications coded in modern single-program multiple-data languages. As these architectures have wide data paths that process a single instruction across parallel threads, a mechanism is needed to track and sequence threads as they traverse potentially divergent control paths through the program. The design space for divergence management ranges from software-only approaches where divergence is explicitly managed by the compiler, to hardware solutions where divergence is managed implicitly by the micro architecture. In this paper, we explore this space and propose a new predication-based approach for handling control-flow structures in data-parallel architectures. Unlike prior predication algorithms, our new compiler analyses and hardware instructions consider the commonality of predication conditions across threads to improve efficiency. We prototype our algorithms in a production compiler and evaluate the tradeoffs between software and hardware divergence management on current GPU silicon. We show that our compiler algorithms make a predication-only architecture competitive in performance to one with hardware support for tracking divergence.



 ## Authors



Yunsup Lee (University of California Berkeley)

Vinod Grover (NVIDIA)

Ronny Krashinsky (NVIDIA)

[Mark Stephenson](/person/mark-stephenson)

[Steve Keckler](/person/stephen-keckler)

Krste Asanovic (University of California Berkeley)

 

 

 ## Publication Date



Wednesday, December 3, 2014

 

 ## Published in



[International Symposium on Microarchitecture (MICRO)](https://doi.org/10.1109/MICRO.2014.48)

 

 ## Research Area



[Computer Architecture](/research-area/computer-architecture)

[Programming Languages, Systems and Tools](/research-area/programming-languages-systems)

 

 

 ## External Links



[IEEE Digital Library](https://doi.org/10.1109/MICRO.2014.48)

 

 

 ## Uploaded Files



[Published manuscript](https://d1qx31qr3h6wln.cloudfront.net/publications/MICRO_2014_Predication.pdf "Open file in new window")469.12 KB

 

 

 ## Copyright



This material is posted here with permission of the IEEE. Internal or personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution must be obtained from the IEEE by writing to <pubs-permissions@ieee.org>.