Patents
US 5,953,531 A#604488 Most CitedExpiredUnited States (USPTO)Utility

Method of, system for, and computer program product for minimizing loop execution time by optimizing block/tile sizes

63Forward Citations (#604488 Global)
2.3/yrCitation Velocity (#1494246 Global)
8.34Citation PageRank (#1433236 Global)
6Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An optimized set of block sizes for a nest of loops for improved data locality is determined by estimating a memory cost per iteration as a function of the block sizes and selecting a set of block sizes that yield a minimum memory cost per iteration subject to a plurality of constraints. An objective function is an estimated memory cost per iteration as a function of the block sizes. An optimal solution is provided by evaluating the objective function for candidate points in the iteration space. These candidate points comprise: corner points of the iteration space, intersections between constraints and the edges of the iteration space, zero-derivative points for the curve that is the intersection of constraints with the objective function, intersection points between constraints, and local optimum of the objective function. Alternatively, an optimized set of block sizes for a nest of loops may be determined by iteratively searching the iteration space for the optimal solution. The advantages provided include improved compiler optimization, improved selection of loop tile sizes, improved execution time for selection of loop block sizes, improved data access locality, improved execut

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 63.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of optimizing an execution time of a plurality of nested program loops, each of the pluralitv of nested program loops having an associated block size, said method comprising the steps of: estimating a memory cost per iteration as a ratio of an estimated memory cost over a product of the block sizes, said estimated memory cost being estimated as proportional to a sum of two products, a first product of an estimated overhead for fetching a new line in cache and an estimated number of cache lines accessed, and a second product of an estimated overhead for fetching a new page in a transla

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Bhattacharya et al., Performance analysis and optimization of schedules for conditional and loop intensive specifications, DAC 94, Procedings of 31 st Annual Conf., Design Automation, pp. 491 496, 1994.
  • Bhattacharya et al., Performance analysis and optimization of schedules for conditional and loop intensive specifications, DAC 94, Procedings of 31 st Annual Conf., Design Automation, pp. 491-496, 1994.
  • Carr et al., "Compiler optimizations for improving data loacality", ASPLOS-ACM, pp. 252-262, Oct. 1994.
  • Carr et al., "Improving the ratio of memory operations to floating point operations in loops", ACM Trans. Prog. Lang. & Syst., vol. 16, No. 6, pp. 1768-1810, Nov. 1994.
  • Carr et al., Compiler optimizations for improving data loacality , ASPLOS ACM, pp. 252 262, Oct. 1994.