Method and apparatus for efficiently processing array operation in computer system
Abstract
An apparatus and a method for processing an array in a loop in a computer system, including: applying loop unrolling to a multi-dimensional array included in a loop based on a predetermined unrolling factor to generate a plurality of unrolled multi-dimensional arrays; and transforming each of the plurality of unrolled multi-dimensional arrays into a one-dimensional array having an array subscript expression in a form of an affine function with respect to a loop counter variable.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 6.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for processing an array in a loop in a computer system, the method comprising: applying a loop unrolling to a multi-dimensional array included in a loop based on a predetermined unrolling factor to generate a plurality of unrolled multi-dimensional arrays; and transforming each of the plurality of unrolled multi-dimensional arrays into a one-dimensional array having an array subscript expression in a form of an affine function with respect to each of a plurality of loop counter variables of the array subscription expression.
- Claim 2Depends on #1
The method of claim 1 , wherein the one-dimensional arrays included in the loop use different memory banks.
- Claim 3Depends on #1
The method of claim 1 , wherein each of the loop counter variables indicates a number of actual iterations of the loop.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗