DocumentCode
3043174
Title
Accelerating the Dynamic Programming for the Matrix Chain Product on the GPU
Author
Nishida, Kazufumi ; Ito, Yasuaki ; Nakano, Koji
Author_Institution
Dept. of Inf. Eng., Hiroshima Univ., Hiroshima, Japan
fYear
2011
fDate
Nov. 30 2011-Dec. 2 2011
Firstpage
320
Lastpage
326
Abstract
Modern GPUs (Graphics Processing Units) can be used for general purpose parallel computation. Users can develop parallel programs running on GPUs using programming architecture called CUDA (Compute Unified Device Architecture). The Matrix Chain Product Problem is an optimization problem for finding parentheses of the matrix chain that gives the minimum total number of multiplications necessary to compute the product of the matrix chain. It is well known that this problem can be solved using the dynamic programming technique in O(n3) time using tables of size O(n2). The main contribution of this paper is to present an efficient parallel implementation of this O(n3)-time algorithm on the GPU. In our implementation, we have considered the architecture and programming issues of the GPU system. The experimental results show that, for a chain of 16384 matrices generated at random, our implementation in the Nvidia GeForce GTX 480 achieves a speedup factor of 40 over a conventional CPU implementation.
Keywords
computational complexity; dynamic programming; graphics processing units; matrix algebra; parallel architectures; parallel programming; CUDA; GPU; Nvidia GeForce GTX 480; compute unified device architecture; conventional CPU implementation; dynamic programming technique; general purpose parallel computation; graphics processing units; matrix chain product problem; optimization problem; parallel programs; programming architecture; time algorithm; Arrays; Dynamic programming; Graphics processing unit; Heuristic algorithms; Instruction sets; Kernel; CUDA; Dynamic Programming; GPGPU; Matrix Chain Product; Parallel Processing;
fLanguage
English
Publisher
ieee
Conference_Titel
Networking and Computing (ICNC), 2011 Second International Conference on
Conference_Location
Osaka
Print_ISBN
978-1-4577-1796-3
Type
conf
DOI
10.1109/ICNC.2011.62
Filename
6131837
Link To Document