The Community for Technology Leaders
Proceedings of the 22nd International Conference on Parallel Architectures and Compilation Techniques (2011)
Galveston, Texas USA
Oct. 10, 2011 to Oct. 14, 2011
ISSN: 1089-795X
ISBN: 978-0-7695-4566-0
pp: 310-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.
INDEX TERMS
GPU, CUDA, GPU-to-CPU Translation, Implicit Synchronizations, Dependence Analysis, SPMD-Translation
CITATION
Eddy Zheng Zhang, Xipeng Shen, Ziyu Guo, "Correctly Treating Synchronizations in Compiling Fine-Grained SPMD-Threaded Programs for CPU", Proceedings of the 22nd International Conference on Parallel Architectures and Compilation Techniques, vol. 00, no. , pp. 310-319, 2011, doi:10.1109/PACT.2011.62
204 ms
(Ver 3.3 (11022016))