NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Automatic blocking of nested loopsBlocked algorithms have much better properties of data locality and therefore can be much more efficient than ordinary algorithms when a memory hierarchy is involved. On the other hand, they are very difficult to write and to tune for particular machines. The reorganization is considered of nested loops through the use of known program transformations in order to create blocked algorithms automatically. The program transformations used are strip mining, loop interchange, and a variant of loop skewing in which invertible linear transformations (with integer coordinates) of the loop indices are allowed. Some problems are solved concerning the optimal application of these transformations. It is shown, in a very general setting, how to choose a nearly optimal set of transformed indices. It is then shown, in one particular but rather frequently occurring situation, how to choose an optimal set of block sizes.
Document ID
19910023530
Acquisition Source
Legacy CDMS
Document Type
Contractor Report (CR)
Authors
Schreiber, Robert
(Research Inst. for Advanced Computer Science Moffett Field, CA., United States)
Dongarra, Jack J.
(Tennessee Univ. Knoxville., United States)
Date Acquired
September 6, 2013
Publication Date
August 1, 1990
Subject Category
Computer Programming And Software
Report/Patent Number
NASA-CR-188874
RIACS-TR-90-38
NAS 1.26:188874
Report Number: NASA-CR-188874
Report Number: RIACS-TR-90-38
Report Number: NAS 1.26:188874
Accession Number
91N32844
Funding Number(s)
CONTRACT_GRANT: DE-AC0S-84OR-21400
CONTRACT_GRANT: NCC2-387
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available