Title
Data-flow analysis and optimization for data coherence in heterogeneous architectures
Abstract
Although heterogeneous computing has enabled developers to achieve impressive program speed-ups, the cost of moving and keeping data coherent between host and device may easily eliminate any performance gains achieved by acceleration. To deal with this problem, this paper introduces DCA: a pair of two data-flow analyses that determine how variables are used by host/device at each program point. It also introduces DCO, a code optimization technique that uses DCA information to: (a) allocate OpenCL shared buffers between host and devices; and (b) insert appropriate OpenCL function calls into program points so as to minimize the number of data coherence operations. We have used the AClang compiler to measure the impact of DCA and DCO when generating code from Parboil, Polybench and Rodinia benchmarks for a set of discrete/integrated GPUs. The experimental results showed speed-ups of up to 5.25x (average of 1.39x) on an ARM Mali-T880 and up to 8.87x (average of 1.66x) on an NVIDIA GPU Pascal Titan X.
Year
DOI
Venue
2019
10.1016/j.jpdc.2019.04.004
Journal of Parallel and Distributed Computing
Keywords
Field
DocType
Compilers,Data coherence,Heterogeneous architectures
Computer science,Parallel computing,Symmetric multiprocessor system,Data-flow analysis,Coherence (physics),Compiler,Acceleration,Code (cryptography)
Journal
Volume
ISSN
Citations 
130
0743-7315
1
PageRank 
References 
Authors
0.40
0
4
Name
Order
Citations
PageRank
Rafael Sousa110.40
Marcio Machado Pereira2174.52
Fernando Magno Quintão Pereira321620.03
Guido Araujo43913.69