Title :
Efficient representation scheme for multidimensional array operations
Author :
Lin, Chung-Yuan ; Liu, Jen-Shiu ; Chung, Yeh-Ching
Author_Institution :
Dept. of Inf. Eng., Feng Chia Univ., Taichung, Taiwan
fDate :
3/1/2002 12:00:00 AM
Abstract :
Array operations are used in a large number of important scientific codes. To implement these array operations efficiently, many methods have been proposed in the literature, most of which are focused on two-dimensional arrays. When extended to higher dimensional arrays, these methods usually do not perform well. Hence, designing efficient algorithms for multidimensional array operations becomes an important issue. We propose a new scheme, extended Karnaugh map representation (EKMR), for the multidimensional array representation. The main idea of the EKMR scheme is to represent a multidimensional array by a set of two-dimensional arrays. Hence, efficient algorithm design for multidimensional array operations becomes less complicated. To evaluate the proposed scheme, we design efficient algorithms for multidimensional array operations, matrix-matrix addition/subtraction and matrix-matrix multiplications, based on the EKMR and the traditional matrix representation (TMR) schemes. Theoretical and experimental tests for these array operations were conducted. In the experimental test, we compare the performance of intrinsic functions provided by the Fortran 90 compiler with those based on the EKMR scheme. The experimental results show that the algorithms based on the EKMR scheme outperform those based on the TMR scheme and those provided by the Fortran 90 compiler
Keywords :
FORTRAN; data structures; matrix algebra; natural sciences computing; parallel programming; program compilers; EKMR; Fortran 90 compiler; TMR; data structure; extended Karnaugh map representation; higher dimensional arrays; matrix-matrix addition/subtraction; matrix-matrix multiplications; multidimensional array operations; multidimensional array representation; representation scheme; scientific codes; traditional matrix representation; Multidimensional systems;
Journal_Title :
Computers, IEEE Transactions on