ePrints@IIScePrints@IISc Home | About | Browse | Latest Additions | Advanced Search | Contact | Help

Fast and efficient automatic memory management for GPUs using compiler-assisted runtime coherence scheme

Pai, Sreepathi and Govindarajan, R and Thazhuthaveetil , Matthew J (2012) Fast and efficient automatic memory management for GPUs using compiler-assisted runtime coherence scheme. In: PACT '12 Proceedings of the 21st International Conference on Parallel Architectures and Compilation Techniques, 2012, New York, NY, USA.

[img] PDF
Par_Arch_Comp_Tech_33_2012.pdf - Published Version
Restricted to Registered users only

Download (731kB) | Request a copy
Official URL: http://dx.doi.org/10.1145/2370816.2370824

Abstract

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. 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 average.

Item Type: Conference Paper
Publisher: Association for Computing Machinery
Additional Information: Copyright of this article belongs to Association for Computing Machinery.
Keywords: GPU; Memory Management; Data Transfers; Automatic; Software Coherence
Department/Centre: Division of Electrical Sciences > Computer Science & Automation
Date Deposited: 27 Nov 2013 07:52
Last Modified: 27 Nov 2013 07:52
URI: http://eprints.iisc.ac.in/id/eprint/47825

Actions (login required)

View Item View Item