Optimizing the parallel computation of linear recurrences using compact matrix representations

被引:4
|
作者
Nistor, Adrian [2 ]
Chin, Wei-Ngan [1 ]
Tan, Tiow-Seng [1 ]
Tapus, Nicolae [2 ]
机构
[1] Natl Univ Singapore, Dept Comp Sci, Singapore 117548, Singapore
[2] Univ Politehn Bucuresti, Dept Comp Sci, Bucharest, Romania
关键词
Memory optimization; Recursion; Matrix multiplication; Programmable graphics hardware; GRAPHICS HARDWARE; ALGORITHMS;
D O I
10.1016/j.jpdc.2009.01.004
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a novel method for optimizing the parallel computation of linear recurrences. Our method can help reduce the resource requirements for both memory and computation. A unique feature of our technique is its formulation of linear recurrences as matrix computations, before exploiting their mathematical properties for more compact representations. Based on a general notion of closure for matrix multiplication, we present two classes of matrices that have compact representations. These classes are permutation matrices and matrices whose elements are linearly related to each other. To validate the proposed method, we experiment with solving recurrences whose matrices have compact representations using CUDA on nVidia GeForce 8800 GTX GPU. The advantages of our technique are that it enables the computation of larger recurrences in parallel and it provides good speedups of up to eleven times over the un-optimized parallel computations. Also, the memory usage can be as much as nine times lower than that of the un-optimized parallel computations. Our result confirms a promising approach for the adoption of more advanced parallelization techniques. (C) 2009 Elsevier Inc. All rights reserved.
引用
收藏
页码:373 / 381
页数:9
相关论文
共 50 条
  • [1] Linear scaling computation of the Fock matrix. VII. Parallel computation of the Coulomb matrix
    Gan, CK
    Tymczak, CJ
    Challacombe, M
    JOURNAL OF CHEMICAL PHYSICS, 2004, 121 (14): : 6608 - 6614
  • [3] HORNER RULE AND THE COMPUTATION OF LINEAR RECURRENCES
    GRIES, D
    PASCOLETTI, A
    SBRIZ, L
    INFORMATION PROCESSING LETTERS, 1987, 25 (04) : 237 - 240
  • [4] Decomposition of linear programs using parallel computation
    Ho, James K.
    Lee, Tak C.
    Sundarraj, R.P.
    Mathematical Programming, Series B, 1988, 42 (01): : 391 - 405
  • [5] COMPLEXITY OF PARALLEL EVALUATION OF LINEAR RECURRENCES
    HYAFIL, L
    KUNG, HT
    JOURNAL OF THE ACM, 1977, 24 (03) : 513 - 521
  • [6] Diophantine representations of linear recurrences. I
    Vsemirnov M.A.
    Journal of Mathematical Sciences, 1998, 89 (2) : 1113 - 1118
  • [7] COMPACT COMPUTATION OF THE INVERSE OF A MATRIX
    WAUGH, FV
    DWYER, PS
    ANNALS OF MATHEMATICAL STATISTICS, 1945, 16 (03): : 259 - 271
  • [8] Using Parallel Compact Evolutionary Algorithm for Optimizing Ontology Alignment
    Xue, Xingsi
    Tsai, Pei-Wei
    Zhang, Li-Li
    GENETIC AND EVOLUTIONARY COMPUTING, 2017, 536 : 157 - 165
  • [9] Compact Fundamental Matrix Computation
    Kanatani, Kenichi
    Sugaya, Yasuyuki
    ADVANCES IN IMAGE AND VIDEO TECHNOLOGY, PROCEEDINGS, 2009, 5414 : 179 - +
  • [10] DECOMPOSITION OF LINEAR-PROGRAMS USING PARALLEL COMPUTATION
    HO, JK
    LEE, TC
    SUNDARRAJ, RP
    MATHEMATICAL PROGRAMMING, 1988, 42 (02) : 391 - 405