A memory optimization technique for software-managed scratchpad memory in GPUs
Computer Science Department, University of California, Los Angeles
IEEE 7th Symposium on Application Specific Processors, 2009, SASP ’09, p.43-49
@conference{moazeni2009memory,
title={A memory optimization technique for software-managed scratchpad memory in GPUs},
author={Moazeni, M. and Bui, A. and Sarrafzadeh, M.},
booktitle={Application Specific Processors, 2009. SASP’09. IEEE 7th Symposium on},
pages={43–49},
year={2009},
organization={IEEE}
}
With the appearance of massively parallel and inexpensive platforms such as the G80 generation of NVIDIA GPUs, more real-life applications will be designed or ported to these platforms. This requires structured transformation methods that remove existing application bottlenecks in these platforms. Balancing the usage of on-chip resources, used for improving the application performance, in these platforms is often non-intuitive and some applications will run into resource limits. In this paper, we present a memory optimization technique for the software-managed scratchpad memory in the G80 architecture to alleviate the constraints of using the scratchpad memory. We propose a memory optimization scheme that minimizes the usage of memory space by discovering the chances of memory reuse with the goal of maximizing the application performance. Our solution is based on graph coloring. We evaluated our memory optimization scheme by a set of experiments on an image processing benchmark suite in medical imaging domain using NVIDIA Quadro FX 5600 and CUDA. Implementations based on our proposed memory optimization scheme showed up to 37% decrease in execution time comparing to their naive GPU implementations.
January 11, 2011 by hgpu