DocumentCode :
2788039
Title :
Correctly Treating Synchronizations in Compiling Fine-Grained SPMD-Threaded Programs for CPU
Author :
Guo, Ziyu ; Zhang, Eddy Z. ; Shen, Xipeng
Author_Institution :
Comput. Sci. Dept., Coll. of William & Mary, Williamsburg, VA, USA
fYear :
2011
fDate :
10-14 Oct. 2011
Firstpage :
310
Lastpage :
319
Abstract :
Automatic compilation for multiple types of devices is important, especially given the current trends towards heterogeneous computing. This paper concentrates on some issues in compiling fine-grained SPMD-threaded code (e.g., GPU CUDA code) for multicore CPUs. It points out some correctness pitfalls in existing techniques, particularly in their treatment to implicit synchronizations. It then describes a systematic dependence analysis specially designed for handling implicit synchronizations in SPMD-threaded programs. By unveiling the relations between inter-thread data dependences and correct treatment to synchronizations, it presents a dependence-based solution to the problem. Experiments demonstrate that the proposed techniques can resolve the correctness issues in existing compilation techniques, and help compilers produce correct and efficient translation results.
Keywords :
multiprocessing systems; program compilers; synchronisation; automatic compilation; fine-grained SPMD-threaded programs; heterogeneous computing; implicit synchronization; inter-thread data dependence; multicore CPU; systematic dependence analysis; Complexity theory; Graphics processing unit; Indexes; Kernel; Programming; Systematics; Vectors; CUDA; Dependence Analysis; GPU; GPU-to-CPU Translation; Implicit Synchronizations; SPMD-Translation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Architectures and Compilation Techniques (PACT), 2011 International Conference on
Conference_Location :
Galveston, TX
ISSN :
1089-795X
Print_ISBN :
978-1-4577-1794-9
Type :
conf
DOI :
10.1109/PACT.2011.62
Filename :
6113839
Link To Document :
بازگشت