Loading...
Please wait, while we are loading the content...
Similar Documents
Providing source code level portability between cpu and gpu with (2011).
| Content Provider | CiteSeerX |
|---|---|
| Abstract | Abstract Graphics processing units (GPU) have taken an important role in the general purpose computing market in recent years. At present, the common approach to programming GPU units is to write GPU specific code with low level GPU APIs such as CUDA. Although this approach can achieve good performance, it creates serious portability issues as programmers are required to write a specific version of the code for each potential target architecture. This results in high development and maintenance costs. We believe it is desirable to have a programming model which provides source code portability between CPUs and GPUs, as well as different GPUs. This would allow programmers to write one version of the code, which can be compiled and executed on either CPUs or GPUs efficiently without modification. In this paper, we propose MapCG, a MapReduce framework to provide source code level portability between CPUs and GPUs. In contrast to other approaches such as OpenCL, our framework, based on MapReduce, provides a high level programming model and makes programming much easier. We describe the design of MapCG, including the MapReduce-style high-level programming framework and the runtime system on the CPU and GPU. A prototype of the MapCG runtime, supporting multi-core CPUs and NVIDIA GPUs, was implemented. Our experimental results show that this implementation can execute the same source code efficiently on multi-core CPU platforms and GPUs, achieving an average speedup of 1.6∼2.5x over previous |
| File Format | |
| Publisher Date | 2011-01-01 |
| Access Restriction | Open |
| Subject Keyword | Source Code Level Portability Cpu Important Role Mapreduce Framework Specific Version Multi-core Cpu Low Level Gpu Apis Source Code Level Portability Multi-core Cpu Platform Source Code Portability Common Approach Good Performance General Purpose Mapcg Runtime Abstract Graphic Different Gpus Average Speedup Source Code Programming Model Maintenance Cost High Development Nvidia Gpus Gpu Specific Code Serious Portability Issue Potential Target Architecture Mapreduce-style High-level Programming Framework High Level Runtime System Recent Year Gpu Unit Experimental Result |
| Content Type | Text |