DocumentCode :
1799872
Title :
Exploring the Design Space of SPMD Divergence Management on Data-Parallel Architectures
Author :
Yunsup Lee ; Grover, Vinod ; Krashinsky, Ronny ; Stephenson, Mark ; Keckler, Stephen W. ; Asanovic, Krste
Author_Institution :
Univ. of California, Berkeley, Berkeley, CA, USA
fYear :
2014
fDate :
13-17 Dec. 2014
Firstpage :
101
Lastpage :
113
Abstract :
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.
Keywords :
graphics processing units; hardware-software codesign; parallel architectures; program compilers; GPU silicon; SPMD divergence management; complex control-flow constructs; data-parallel architectures; design space; divergent control paths; microarchitecture; parallel threads; predication-based approach; predication-only architecture; production compiler; single program multiple-data language; single-program multiple-data languages; software-hardware divergence management; software-only approach; Computer architecture; Hardware; Optimization; Registers; Software; Support vector machines; Vectors; Control-Flow Divergence; GPU; Predication; Vector Processors;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Microarchitecture (MICRO), 2014 47th Annual IEEE/ACM International Symposium on
Conference_Location :
Cambridge
ISSN :
1072-4451
Type :
conf
DOI :
10.1109/MICRO.2014.48
Filename :
7011381
Link To Document :
بازگشت