Back to Search Start Over

CUDA Memory Optimizations for Large Data-Structures in the Gravit Simulator.

Authors :
Siegel, Jacob
Ributzka, Juergen
Li, Xiaoming
Source :
Journal of Algorithms & Computational Technology; Jun2011, Vol. 5 Issue 2, p341-362, 22p, 9 Diagrams, 2 Charts, 4 Graphs
Publication Year :
2011

Abstract

Modern GPUs open a completely new field to optimize embarrassingly parallel algorithms. Implementing an algorithm on a GPU confronts the programmer with a new set of challenges for program optimization. Especially tuning the program for the GPU memory hierarchy whose organization and performance implications are radically different from those of general purpose CPUs; and optimizing programs at the instruction-level for the GPU. In this paper we analyze different approaches for optimizing the memory usage and access patterns for GPUs and propose a class of memory layout optimizations that can take full advantage of the unique memory hierarchy of NVIDIA CUDA. Furthermore, we analyze some classical optimization techniques and how they effect the performance on a GPU. We used the Gravit gravity simulator to demonstrate these optimizations. The final optimized GPU version achieves a 87 x speedup compared to the original CPU version. Almost 30% of this speedup are direct results of the optimizations discussed in this paper. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
17483018
Volume :
5
Issue :
2
Database :
Complementary Index
Journal :
Journal of Algorithms & Computational Technology
Publication Type :
Academic Journal
Accession number :
60238782
Full Text :
https://doi.org/10.1260/1748-3018.5.2.341