Fast and efficient automatic memory management for GPUs using compiler-assisted runtime coherence scheme
Authors:
Open Access
- 19 September 2012
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 33-42
Abstract
\ud \ud Exploiting the performance potential of GPUs requires managing the data transfers to and from them efficiently which is an error-prone and tedious task. In this paper, we develop a software coherence mechanism to fully automate all data transfers between the CPU and GPU without any assistance from the programmer. Our mechanism uses compiler analysis to identify potential stale accesses and uses a runtime to initiate transfers as necessary. This allows us to avoid redundant transfers that are exhibited by all other existing automatic memory management proposals.\ud We integrate our automatic memory manager into the X10 compiler and runtime, and find that it not only results in smaller and simpler programs, but also eliminates redundant memory transfers. Tested on eight programs ported from the Rodinia benchmark suite it achieves (i) a 1.06x speedup over hand-tuned manual memory management, and (ii) a 1.29x speedup over another recently proposed compiler--runtime automatic memory management system. Compared to other existing runtime-only and compiler-only proposals, it also transfers 2.2x to 13.3x less data on averageKeywords
This publication has 13 references indexed in Scilit:
- Dynamically managed data for CPU-GPU architectures2012
- Automatic CPU-GPU communication management and optimization2011
- Debunking the 100X GPU vs. CPU myth2010
- Rodinia: A benchmark suite for heterogeneous computing2009
- Programming model for a heterogeneous x86 platform2009
- OpenMP to GPGPU2009
- LarrabeeACM Transactions on Graphics, 2008
- Parallel Programmability and the Chapel LanguageThe International Journal of High Performance Computing Applications, 2007
- X102005
- Optimizing Compiler for the CELL Processor2005