Title :
A High Efficient In-place Transposition Scheme for Multidimensional Arrays
Author :
Jie, Yuan ; Jian-ping, Wu ; Zheng-hua, Wang
Author_Institution :
Nat. Lab. of Parallel & Distrib. Process., Nat. Univ. of Defense Technol., Changsha, China
Abstract :
This paper presents a in-place cycle-reducing method for multidimensional arrays transposition in local memory to reduce the memory R/W operations. The resulting method can significantly reduce the number of subcycles (also called following-cycles) and that of memory operations for square arrays. Taking square array 256 by 256 for example, the number of subcycles used by current available best algorithm can be reduced from 32894 to only 574, using our new method, and the memory operation number can be reduced by about 32.58%, from 98430 to 66366. Taking advantage of this new method, the elapsed time can be reduced as a result. The number of cycles and operations can also be reduced for 2D rectangle arrays with 2m rows and 2n column stored in column-major, especially n=2m, even though the improvement is not as significant as that for square arrays. The improved 2D in-place algorithm has been extended to 3D arrays, and some theoretic and numerical results are also provided. Furthermore, we develop a new in-place 3D arrays transposition algorithm. This algorithm is very important for a deep research for multidimensional arrays. Experimental results show that our algorithm can improve efficiency significantly, compared to some other 3D array transposition schemes.
Keywords :
storage management; 2D in-place algorithm; in-place 3D arrays transposition algorithm; in-place cycle-reducing method; in-place transposition scheme; local memory; memory R/W operation reduction; multidimensional arrays transposition; square array; Algorithm design and analysis; Application software; Computer science; Concurrent computing; Data processing; Distributed computing; Distributed processing; Multidimensional systems; Paper technology; Testing; in-place; memory operation; multidimensional array; subcycle-reducing; transposition;
Conference_Titel :
Information and Computing (ICIC), 2010 Third International Conference on
Conference_Location :
Wuxi, Jiang Su
Print_ISBN :
978-1-4244-7081-5
Electronic_ISBN :
978-1-4244-7082-2
DOI :
10.1109/ICIC.2010.46