Method of shifting data along diagonals in a group of processing elements to transpose the data
Abstract
A transpose of data appearing in a plurality of processing elements comprises shifting the data along diagonals of the plurality of processing elements until the processing elements in the diagonal have received the data held by every other processing element in that diagonal. Shifting along diagonals can be accomplished by executing pairs of horizontal and vertical shifts in the x-y directions or pairs of shifts in perpendicular directions, e.g., x-z. Each processing element stores data as its final output data as a function of the processing element's position. In one embodiment, an initial count is either loaded into each processing element or calculated locally based on the processing element's location. The initial count may be given by one of the following expressions: (x+y+1)MOD(array size); (C+R+1)MOD(array size); (C+y+1); or MOD(array size); or (x+R+1)MOD(array size). Thereafter, the initial count is modified by a programmable amount at programmable intervals so that when the current count equals a desired or target value, the current data is selected as the final output data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 48 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for transposing data in a plurality of processing elements arranged in an NxN array, where N is greater than three, comprising; shifting the data N-1 times along a plurality of diagonals of length N of the plurality of processing elements until each processing element in each of said plurality of diagonals has received the original data held by every other processing element in that diagonal; and selecting data as final output data based on a processing element's position.
- Claim 2Depends on #1
The method of claim 1 additionally comprising one of loading an initial count into each processing element and calculating an initial count locally based on the processing element's location, said selecting being responsive to said initial count.
- Claim 3Depends on #2
The method of claim 2 wherein said initial count is given by one of the following expressions: (x+y
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (48)
Non-Patent Literature (5)
- Choi et al., "Parallel Matrix Transpose Algorithms On Distributed Memory Concurrent Computers," 1993, pp. 1-20.
- Daehyun Kim, Mainak Chaudhuri, and Mark Heinrich, Leveraging Cache Coherence in Active Memory Systems, Proceedings of the 16th ACM Int'l Conference on Supercomputing, pp. 2-13, New York City, USA, Jun. 2002.
- Hanounik et al., "Linear-Time Matrix Transpose Algorithms Using Vector Register File With Diagonal Registers," 2001, pp. 1-8.
- Huang, Han-Way, MC68HC12 An Introduction: Software and Hardware Interfacing, Jul. 1, 2002, Delmar Cengage Learning, 1 edition, pp. 62, 63, 66.
- Mainak Chaudhuri, Daehyun Kim, and Mark Heinrich, Cache Coherence Protocol Design for Active Memory Systems, Proceedings of the 2002 Int'l Conference on Parallel and Distributed Processing Techniques and Applications, pp. 83-89, Las Vegas, USA, Jun. 2002.